-
Notifications
You must be signed in to change notification settings - Fork 835
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
Metric API: Ability to create histograms like prometheus histograms #1703
Comments
Not yet. Likely this will be just an aggregator on the value recorder but we're waiting for the spec to finalize this. |
Just wanted to check if we have any update on this. Or a sample code of how we can leverage value recorder to implement histograms. |
@sureshballa this PR provides that histogram aggregation #1628 , I have tried with the prometheus exporter and have no issue so far: const valueRecorder = meter.createValueRecorder("request_processing_seconds", {
description: "Time spent processing request",
boundaries: [0, 1, 10 , 50 ,95 , 99, 100, Infinity],
}); |
Thanks, @locmai , is this released for consumption? |
I think this can be closed. |
Histogram type instrument has been implemented in the latest metrics SDK. |
Do we have ability to create histograms like prometheus histograms from metrics API?
The text was updated successfully, but these errors were encountered: