Skip to content
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 metric endpoint summary metrics do not contain '_sum' field #361

Open
Alphayeeeet opened this issue Mar 14, 2024 · 1 comment
Assignees

Comments

@Alphayeeeet
Copy link

The metrics available under host:port/service/metrics/prometheus are not common to the prometheus format.

For example the following metric does not contain an '_sum' value to be able to calculate the average value by dividing sum/count.

image

The common format which contains quantiles, sum and count is documented on the official prometheus site: https://prometheus.io/docs/practices/histograms/#count-and-sum-of-observations

Maybe the metric libraries should be updated.

@Alphayeeeet Alphayeeeet changed the title [Bug] Prometheus metric endpoint summary metrcs do not contain '_sum' field [Bug] Prometheus metric endpoint summary metrics do not contain '_sum' field Mar 14, 2024
@nblair nblair changed the title [Bug] Prometheus metric endpoint summary metrics do not contain '_sum' field Prometheus metric endpoint summary metrics do not contain '_sum' field Mar 14, 2024
@nblair
Copy link
Contributor

nblair commented Mar 14, 2024

Thanks @Alphayeeeet for opening this; I've labeled it as an Enhancement Request, so we'll leave it open to track demand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants