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
feature : support open metrics exemplars #57
Comments
Yes, that sounds reasonable, and I’m definitely interested in this feature.
…On Sat, Oct 1, 2022 at 5:21 AM Cameron Davison ***@***.***> wrote:
https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#exemplars-1
# TYPE foo histogram
foo_bucket{le="0.01"} 0
foo_bucket{le="0.1"} 8 # {} 0.054
foo_bucket{le="1"} 11 # {trace_id="KOO5S4vxi0o"} 0.67
foo_bucket{le="10"} 17 # {trace_id="oHg5SJYRHA0"} 9.8 1520879607.789
foo_bucket{le="+Inf"} 17
foo_count 17
foo_sum 324789.3
foo_created 1520430000.123
Would it be reasonable to have optional dependencies on open telemetry to
get the trace info for a bucket?
—
Reply to this email directly, view it on GitHub
<#57>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGOSDMOGNAJYCV34C4HDNWDWBAUDJANCNFSM6AAAAAAQ2NXXYY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I just read that
For multi process mode. That is a bummer. I wonder how much work it would be to fix the prom client. |
That's too bad, would that be a deal breaker for you? I might work on adding support for exemplars in single process mode anyway (unless you already wanted to submit a PR) |
I don't have a pr yet. It would be a deal breaker for me. But if you add support I assume it will work when they add the support |
Added in #58 - unfortunately prometheus_client seems to still not support exemplars for multiprocess mode. Closing as done since exemplars were added here and it should work for anyone not using multiprocess mode. Hopefully support is added soon. |
https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#exemplars-1
https://github.com/prometheus/client_python/blob/f17a8361ad3ed5bc47f193ac03b00911120a8d81/README.md#exemplars
Would it be reasonable to have optional dependencies on open telemetry to get the trace info for a bucket?
The text was updated successfully, but these errors were encountered: