runtime-telemetry: no way to disable individual experimental JFR features when emit-experimental-metrics=true #17869
Answered
by
laurit
RohitRed19
asked this question in
Q&A
|
Turning on experimental runtime metrics is all-or-nothing for JFR. When a user sets otel.instrumentation.runtime-telemetry.emit-experimental-metrics=true, all experimental JFR features are enabled together: CONTEXT_SWITCH_METRICS Reference: #16087 (comment) |
Answered by
laurit
Apr 21, 2026
Replies: 1 comment 6 replies
|
Have a look at https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/runtime-telemetry/library#usage You could drop the metrics you don't want with a metric view. |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hopefully resolved with #18110