How can I obtain the http.server.active_requests metric? #12810
-
I found that the HttpServerExperimentalMetrics class provides experimental support for the http.server.active_requests metric. However, I am unable to receive this metric on the collector. I'm testing with a Spring Boot application by injecting the Java agent. Do I need to configure something in the config.properties file? Here are the settings I've configured:
Or, does it require using Apache or Nginx instead of Tomcat to get this metric? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
See https://opentelemetry.io/docs/zero-code/java/agent/instrumentation/http/#enabling-experimental-http-telemetry |
Beta Was this translation helpful? Give feedback.
See https://opentelemetry.io/docs/zero-code/java/agent/instrumentation/http/#enabling-experimental-http-telemetry
otel.instrumentation.http.server.emit-experimental-telemetry
is the one you need.