-
Hello, I am using the Opentelemetry-Javaagent to observe a Karaf-based application. I now wanted to add some application-specific metrics, for example how often a certain file was openend etc. and export them via the opentelemetry-javaagent. I tried to access the javaagents-meter with the following code, but failed to add metrics to it (they didn't show up)
Javaagent Version: 1.10.0 Is this possible? If yes, how could I implement something like this this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Instead of |
Beta Was this translation helpful? Give feedback.
Instead of
MeterProvider.noop()
try withGlobalOpenTelemetry.getMeterProvider()