Exporting a Sum Metric for Prometheus #1778
Unanswered
michael-cybrid
asked this question in
Q&A
Replies: 1 comment
-
Hi @michael-cybrid , as current counter implementation (and sum aggregation), there is no feature that support monotonic operation. I have opened an issue about this feature enhancement. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to export a counter metric, via opentelemetry-collector, to prometheus but am running into issues.
The docs seem to indicate that only delta sums are support but if I define
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
ascumulative
, the exported data points have that set properly.What I'm running into is that I don't see how I can create a counter with
is_monotonic
set, which looks to be a prerequisite for Prometheus ingestion. I can see in other languages that this is supported. Is there a way to do this?Beta Was this translation helpful? Give feedback.
All reactions