-
Notifications
You must be signed in to change notification settings - Fork 50
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
Where are the Exemplars coming from? #5
Comments
I'm also curios to know this, just started play around this but couldn't find where this is adding. |
Hello, in order to expose exemplars on a target you have to negotiate to use OpenMetrics exposition format, which a browser will not do. If you run:
you will see the exemplars in your output. E.g.
|
How to add them in the code though? Is there any guide available anywhere? |
You can instrument OpenMetrics exposition by enabling it in the handler level
For more details on Exemplars here is write-up that explains inner working of metrics with traces. |
I am not able to see the exemplars for the above query. They are not visible. |
Sorry if this is the wrong place to ask a beginners question, but I'm trying to figure out where Exemplars are coming from.
I ran the query as described in the Readme:
It works. I see exemplars:
So I wanted to have a look at the raw metrics:
However, on http://localhost:8081/metrics I see just the metrics, but no exemplars:
So I'm wondering: Where are the exemplars coming from?
The text was updated successfully, but these errors were encountered: