Metric label values truncated when using OpenMetrics endpoint

Daan van Gorkum daan.vangorkum at vusam.com
Sat Aug 22 03:31:36 EEST 2020


Hi,

Recently we upgraded to Dovecot 2.3.11.3 and configured an example metric like this:


metric imap_command {
  event_name = imap_command_finished
  group_by = cmd_name tagged_reply_state user remote_ip
}

And enabled the OpenMetrics listener like this:

service stats {
  inet_listener http {
    port = 5000
  }
}

While the result is great, I noticed that some metrics are being truncated (three dots at the end of the label value):

dovecot_imap_command_duration_usecs_sum{cmd_name="FETCH",tagged_reply_state="OK",user="xxxxxxxxxxx.inbox at xxxxxxxxxxxxx…",remote_ip="XXXX:XXXX:XXXX:XXXX:cc6b:cc7a:d…"} 2346 1598055662473

I couldn't find this information in the documentation so I'm wondering if this is a bug.

Thank you for your time.

Regards,
Daan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200822/20e09ba5/attachment-0001.html>


More information about the dovecot mailing list