-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prometheus exporter handles delta metrics differently from the current spec #5015
Comments
This. Cumulative temporality for all instruments is specified here. It will be possible for
|
Thanks. Based on the prometheus spec above, I would still expect delta temporality metrics to be dropped in the exporter. At minimum, I wouldn't expect delta sums to be converted to gauges. But this is moot until after #5011 |
Describe the bug
The prometheus exporter appears to convert sums with aggregation temporality delta to gauges, and appears to ignore temporality for histograms.
What did you expect to see?
The spec for Sums says:
The spec for Histograms says:
Basically, we need to either convert delta -> cumulative, or drop the metrics.
It is also definitely possible that i'm mistaken and it isn't possible for delta metrics to be passed to the Prometheus exporter. In that case, we should probably remove the aggregation temporality check from the metric -> type logic.
The text was updated successfully, but these errors were encountered: