Metric label values truncated when using OpenMetrics endpoint

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


Recently we upgraded to Dovecot 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dovecot mailing list