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
I was surprised to see that add_metric_suffixes is enabled by default. It is an opinionated feature flag that modifies metrics in a way some operators may not expect. It can be difficult to track down why metrics are not available anymore just to find that opentelemetry-collector-contrib is automatically changing their series names.
I propose the setting is turned off by default instead as the default behavior of the Prometheus exporter should be to simply relay the metrics it is told to expose rather than conform them to specific standards.
From what I can tell it is set to true to preserve even older behavior: 2bc9904
The text was updated successfully, but these errors were encountered:
wbollock
changed the title
exporter/prometheus: why is add_metric_suffixes enabled by defualt?
exporter/prometheus: why is add_metric_suffixes enabled by default?
Dec 9, 2024
For suffixes in particular, there are a few challenges:
OpenMetrics requires unit suffixes on the metric name and _total suffixes on counter timeseries, which i'm hoping to change in a future version of OpenMetrics.
Component(s)
exporter/prometheus
Describe the issue you're reporting
I was surprised to see that add_metric_suffixes is enabled by default. It is an opinionated feature flag that modifies metrics in a way some operators may not expect. It can be difficult to track down why metrics are not available anymore just to find that opentelemetry-collector-contrib is automatically changing their series names.
I propose the setting is turned off by default instead as the default behavior of the Prometheus exporter should be to simply relay the metrics it is told to expose rather than conform them to specific standards.
From what I can tell it is set to true to preserve even older behavior: 2bc9904
The text was updated successfully, but these errors were encountered: