How to expose exemplar metrics with auto-instrument #4655
Unanswered
mvkrishna86
asked this question in
Q&A
Replies: 0 comments 6 replies
-
I'd definitively like to have guidance on this subject too. I also opened the following #4616 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this is a discussion for the instrumentation repository, rather than the SDK, correct? Assuming you want to configure the javaagent for this, rather than manually configuring the SDK, that is. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
May I know how can I auto-instrument the java code for exposing metrics along with exemplars?
I tried the procedure mentioned here: https://github.com/prometheus/client_java/blob/master/OTEL_EXEMPLARS.md. But in the code, it looks like we have to create the metrics and add the instrumentation before every call.
It is mentioned here: https://github.com/prometheus/client_java/blob/master/OTEL_EXEMPLARS.md, that we can add the exemplars without changing the code. But May I know how to do that?
Beta Was this translation helpful? Give feedback.
All reactions