Replies: 2 comments 3 replies
-
Sorry for that, I notice there is already the same thing on here: https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/runtime-metrics/library/src/main/java/io/opentelemetry/instrumentation/runtimemetrics |
Beta Was this translation helpful? Give feedback.
-
Hey @Roiocam , As you've already noticed, we are in fact using JMX to get the JVM metrics: https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/runtime-metrics/library/src/main/java/io/opentelemetry/instrumentation/runtimemetrics If you want to listen for custom JMX metrics (as defined in a config file, for example), we have an open issue for this: #6131 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Motivation
I am currently changing my application metrics from JMX to OTEL. Before I used
Prometheus-JMX-exporter
, they supported JVM metrics and Grafana Dashboard.I don't see anything like this on OTEL-JAVA, but using the same way to collect JMX like
Prometheus-JMX-exporter
also works on OTEL.I could use
Meter.batchCallback
to start JMX-Scraper work, on that small demo, everything is working fine.JMX has a ton of metrics for JVM, I believe it could help OTEL JVM metrics complete.
Beta Was this translation helpful? Give feedback.
All reactions