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

feature : support open metrics exemplars #57

Closed
camerondavison opened this issue Oct 1, 2022 · 6 comments
Closed

feature : support open metrics exemplars #57

camerondavison opened this issue Oct 1, 2022 · 6 comments

Comments

@camerondavison
Copy link

camerondavison commented Oct 1, 2022

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?

@stephenhillier
Copy link
Owner

stephenhillier commented Oct 1, 2022 via email

@camerondavison
Copy link
Author

camerondavison commented Oct 1, 2022

I just read that

Exemplars are not supported

For multi process mode. That is a bummer. I wonder how much work it would be to fix the prom client.

@camerondavison
Copy link
Author

@stephenhillier
Copy link
Owner

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)

@camerondavison
Copy link
Author

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

@stephenhillier
Copy link
Owner

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.

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

No branches or pull requests

2 participants