You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I try to push metrics from dovecot to pushgateway got this error text format parsing error in line 5: unknown metric type "info"
curl -s localhost:9900/metrics
# HELP process_start_time_seconds Timestamp of service start
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1655823811
# HELP dovecot_build Dovecot build information
# TYPE dovecot_build info
dovecot_build_info{version="2.3.17",revision="e2aa53df5b"} 1
# HELP dovecot_auth_success Total number of all events of this kind
# TYPE dovecot_auth_success counter
dovecot_auth_success_total 8886
# HELP dovecot_auth_success_duration_seconds Total duration of all events of this kind
# TYPE dovecot_auth_success_duration_seconds counter
dovecot_auth_success_duration_seconds_total 384.329590
# HELP dovecot_auth_failures Total number of all events of this kind
# TYPE dovecot_auth_failures counter
dovecot_auth_failures_total 0
# HELP dovecot_auth_failures_duration_seconds Total duration of all events of this kind
# TYPE dovecot_auth_failures_duration_seconds counter
dovecot_auth_failures_duration_seconds_total 0.000000
# HELP dovecot_imap_command Total number of all events of this kind
# TYPE dovecot_imap_command counter
dovecot_imap_command_total{cmd_name="LIST"} 10885
dovecot_imap_command_total{cmd_name="LIST",tagged_reply_state="OK"} 10885
dovecot_imap_command_total{cmd_name="LOGOUT"} 20
dovecot_imap_command_total{cmd_name="LOGOUT",tagged_reply_state="OK"} 20
dovecot_imap_command_total{cmd_name="NOOP"} 8864
dovecot_imap_command_total{cmd_name="NOOP",tagged_reply_state="OK"} 8864
dovecot_imap_command_count 19769
# HELP dovecot_imap_command_duration_seconds Total duration of all events of this kind
# TYPE dovecot_imap_command_duration_seconds counter
dovecot_imap_command_duration_seconds_total{cmd_name="LIST"} 2.835521
dovecot_imap_command_duration_seconds_total{cmd_name="LIST",tagged_reply_state="OK"} 2.835521
dovecot_imap_command_duration_seconds_total{cmd_name="LOGOUT"} 0.003483
dovecot_imap_command_duration_seconds_total{cmd_name="LOGOUT",tagged_reply_state="OK"} 0.003483
dovecot_imap_command_duration_seconds_total{cmd_name="NOOP"} 0.078598
dovecot_imap_command_duration_seconds_total{cmd_name="NOOP",tagged_reply_state="OK"} 0.078598
dovecot_imap_command_duration_seconds_sum 2.917602
# HELP dovecot_smtp_command Histogram
# TYPE dovecot_smtp_command histogram
dovecot_smtp_command_bucket{cmd_name="LHLO",status_code="250",le="0.000010"} 0
dovecot_smtp_command_bucket{cmd_name="LHLO",status_code="250",le="0.000100"} 771
dovecot_smtp_command_bucket{cmd_name="LHLO",status_code="250",le="0.001000"} 782
dovecot_smtp_command_bucket{cmd_name="LHLO",status_code="250",le="0.010000"} 782
dovecot_smtp_command_bucket{cmd_name="LHLO",status_code="250",le="0.100000"} 782
dovecot_smtp_command_bucket{cmd_name="LHLO",status_code="250",le="+Inf"} 782
dovecot_smtp_command_sum{cmd_name="LHLO",status_code="250"} 0.018181
dovecot_smtp_command_count{cmd_name="LHLO",status_code="250"} 782
dovecot_smtp_command_bucket{cmd_name="MAIL",status_code="250",le="0.000010"} 0
dovecot_smtp_command_bucket{cmd_name="MAIL",status_code="250",le="0.000100"} 780
dovecot_smtp_command_bucket{cmd_name="MAIL",status_code="250",le="0.001000"} 782
dovecot_smtp_command_bucket{cmd_name="MAIL",status_code="250",le="0.010000"} 782
dovecot_smtp_command_bucket{cmd_name="MAIL",status_code="250",le="0.100000"} 782
dovecot_smtp_command_bucket{cmd_name="MAIL",status_code="250",le="+Inf"} 782
dovecot_smtp_command_sum{cmd_name="MAIL",status_code="250"} 0.016008
dovecot_smtp_command_count{cmd_name="MAIL",status_code="250"} 782
dovecot_smtp_command_bucket{cmd_name="RCPT",status_code="550",le="0.000010"} 0
dovecot_smtp_command_bucket{cmd_name="RCPT",status_code="550",le="0.000100"} 0
dovecot_smtp_command_bucket{cmd_name="RCPT",status_code="550",le="0.001000"} 0
dovecot_smtp_command_bucket{cmd_name="RCPT",status_code="550",le="0.010000"} 754
dovecot_smtp_command_bucket{cmd_name="RCPT",status_code="550",le="0.100000"} 782
dovecot_smtp_command_bucket{cmd_name="RCPT",status_code="550",le="+Inf"} 782
dovecot_smtp_command_sum{cmd_name="RCPT",status_code="550"} 4.404203
dovecot_smtp_command_count{cmd_name="RCPT",status_code="550"} 782
dovecot_smtp_command_bucket{cmd_name="DATA",status_code="503",le="0.000010"} 513
dovecot_smtp_command_bucket{cmd_name="DATA",status_code="503",le="0.000100"} 778
dovecot_smtp_command_bucket{cmd_name="DATA",status_code="503",le="0.001000"} 782
dovecot_smtp_command_bucket{cmd_name="DATA",status_code="503",le="0.010000"} 782
dovecot_smtp_command_bucket{cmd_name="DATA",status_code="503",le="0.100000"} 782
dovecot_smtp_command_bucket{cmd_name="DATA",status_code="503",le="+Inf"} 782
dovecot_smtp_command_sum{cmd_name="DATA",status_code="503"} 0.009626
dovecot_smtp_command_count{cmd_name="DATA",status_code="503"} 782
dovecot_smtp_command_bucket{cmd_name="RSET",status_code="250",le="0.000010"} 0
dovecot_smtp_command_bucket{cmd_name="RSET",status_code="250",le="0.000100"} 775
dovecot_smtp_command_bucket{cmd_name="RSET",status_code="250",le="0.001000"} 782
dovecot_smtp_command_bucket{cmd_name="RSET",status_code="250",le="0.010000"} 782
dovecot_smtp_command_bucket{cmd_name="RSET",status_code="250",le="0.100000"} 782
dovecot_smtp_command_bucket{cmd_name="RSET",status_code="250",le="+Inf"} 782
dovecot_smtp_command_sum{cmd_name="RSET",status_code="250"} 0.020375
dovecot_smtp_command_count{cmd_name="RSET",status_code="250"} 782
dovecot_smtp_command_bucket{cmd_name="QUIT",status_code="221",le="0.000010"} 742
dovecot_smtp_command_bucket{cmd_name="QUIT",status_code="221",le="0.000100"} 782
dovecot_smtp_command_bucket{cmd_name="QUIT",status_code="221",le="0.001000"} 782
dovecot_smtp_command_bucket{cmd_name="QUIT",status_code="221",le="0.010000"} 782
dovecot_smtp_command_bucket{cmd_name="QUIT",status_code="221",le="0.100000"} 782
dovecot_smtp_command_bucket{cmd_name="QUIT",status_code="221",le="+Inf"} 782
dovecot_smtp_command_sum{cmd_name="QUIT",status_code="221"} 0.005701
dovecot_smtp_command_count{cmd_name="QUIT",status_code="221"} 782
# HELP dovecot_mail_delivery Histogram
# TYPE dovecot_mail_delivery histogram
dovecot_mail_delivery_bucket{le="0.000010"} 0
dovecot_mail_delivery_bucket{le="0.000100"} 0
dovecot_mail_delivery_bucket{le="0.001000"} 0
dovecot_mail_delivery_bucket{le="0.010000"} 0
dovecot_mail_delivery_bucket{le="0.100000"} 0
dovecot_mail_delivery_bucket{le="+Inf"} 0
# EOF
The text was updated successfully, but these errors were encountered:
That's because Dovecot seems to emit OpenMetrics, not the conventional Prometheus text format, while the Pushgateway only understands the latter. Supporting OpenMetrics is tracked in #400 .
I've got Dovecot: 2.3.17 (e2aa53df5b)
dovecot.conf
when I try to push metrics from dovecot to pushgateway got this error
text format parsing error in line 5: unknown metric type "info"
curl -s localhost:9900/metrics
The text was updated successfully, but these errors were encountered: