Displaying 3 results from an estimated 3 matches for "submetr".
Did you mean:
submet
2020 Aug 22
2
Metric label values truncated when using OpenMetrics endpoint
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
2020 Aug 24
0
Metric label values truncated when using OpenMetrics endpoint
...ot;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.
Hm. The submetric names are truncated to 32 bytes because nobody will ever
want metrics bigger than that. ;) Obviously, we need to revisit that
decision. There is no workaround that I can think of.
Jeff.
--
I'm somewhere between geek and normal.
- Linus Torvalds
2020 Aug 25
2
Metric label values truncated when using OpenMetrics endpoint
...uot;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.
Hm. The submetric names are truncated to 32 bytes because nobody will ever
want metrics bigger than that. ;) Obviously, we need to revisit that
decision. There is no workaround that I can think of.
Jeff.
--
I'm somewhere between geek and normal.
- Linus Torvalds
-------------- next part ---...