[Metrics] Histogram and summary differences in opentelemetry #3767
Unanswered
zmapleshine
asked this question in
Q&A
Replies: 1 comment 4 replies
-
@zmapleshine what version of our libraries are you using? @jsuereth has been reworking a lot of our metrics code, so knowing what version you're on could be useful. |
Beta Was this translation helpful? Give feedback.
4 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I find a strange phenomenon that, in my project, metrics exporter was configured as "Prometheus" ,unlike Micrometer, the indicator of summary generated in otel is output based on a specific time window. Where can the value of this time window be set?
The metrics names of histogram type are the same as those of the summary type. They all have the suffix "_sum,_count", but the values of the histogram type are cumulative values.
This makes it difficult to configure the chart if it is not consistent. For example, for Summary type metrics,the computationally time-consuming "promql" is:
But once this metric is switched to a histogram representation, the "promql" statement should be as :
Beta Was this translation helpful? Give feedback.
All reactions