Java custom metrics without editing code #8543
Unanswered
Syberia5910
asked this question in
Q&A
Replies: 1 comment
-
Bytecode instrumentation with extension is intended to be used when you can't modify the source code. There are some samples with metrics in https://opentelemetry.io/docs/instrumentation/java/manual/#metrics Currently we don't a have redis instrumentation that would gather metrics. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to add custom metrics with the java agents without editing code (for the moment we don't want impacting projets). For example, we have a generic class that call external service in a particular protocol and we wan't to count number of call and response time.
I see that I can create an extensions but I don't find some examples for creating some buckets for response time.
Is the extension is the good way for creating custom mesurment or there is other thing ?
I want to mesure datasource's response time too and redis's calls. I see java agent has redis dans dbcp2 module but I think those module is just for trace and not for mesurement. Is it wright ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions