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
fix: Fixed Prometheus export unit formatting (#582)
This commit fixes improperly formatted metrics when `PrometheusBuilder::new().set_enable_unit_suffix(true)` is enabled.
Previously histogram metrics would have been formatted as:
* `<name>-sum-<unit>`
* `<name>-count-<unit>`
* `<name>-bucket-<unit>`
However the correct formatting is:
* `<name>-<unit>-sum`
* `<name>-<unit>-count`
* `<name>-<unit>-bucket`
Co-authored-by: Toby Lawrence <tobz@users.noreply.github.com>
0 commit comments