Component(s)
exporter/prometheus
Describe the issue you're reporting
Currently, the prometheusexporter aggregates delta metrics into cumulative ones. This is currently in the prometheus compatibility specification, but we are considering removing this language: open-telemetry/opentelemetry-specification#5034.
One reason we might want to keep this is that it probably uses less memory. If someone uses deltatocumulative, that is going to store the aggregated deltas, and send them as cumuatives. But then the prometheusexporter still has its own cache of cumulative metrics anyways.
But removing support for deltas directly in the exporter would allow us to greatly simplify the exporter.
@ArthurSens
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Component(s)
exporter/prometheus
Describe the issue you're reporting
Currently, the prometheusexporter aggregates delta metrics into cumulative ones. This is currently in the prometheus compatibility specification, but we are considering removing this language: open-telemetry/opentelemetry-specification#5034.
One reason we might want to keep this is that it probably uses less memory. If someone uses deltatocumulative, that is going to store the aggregated deltas, and send them as cumuatives. But then the prometheusexporter still has its own cache of cumulative metrics anyways.
But removing support for deltas directly in the exporter would allow us to greatly simplify the exporter.
@ArthurSens
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.