Describe the bug
I have configured a web application in Tomcat 9.0.14 with Java 8 Corretto along with otel java agent 2.4.0. It is not producing below metrics
http_server_request_duration_seconds_{count|sum|bucket}
http_client_request_duration_seconds_{count|sum|bucket}
whereas it used to work on an Intel machine, i.e. x86 architecture on Linux as well as MacOs.
Interestingly other metrics are being produced for the app, ex: db_client_connections_usage, db_client_connections_pending_requests, jvm_class_count, target_info etc along with http_server_active_requests when -Dotel.instrumentation.http.server.emit-experimental-telemetry=true is set.
I also tried launching a bare minumium Tomcat 10.1.31 along with Eclipse Temurin build on MacOs but it's still not producing the http_server* or http_client_* metrics.
./java -version
openjdk version "11.0.25" 2024-10-15
OpenJDK Runtime Environment Temurin-11.0.25+9 (build 11.0.25+9)
OpenJDK 64-Bit Server VM Temurin-11.0.25+9 (build 11.0.25+9, mixed mode)
Steps to reproduce
Pick a setup deployed with config
- Java 8 distro
openjdk version "1.8.0_422"
OpenJDK Runtime Environment Corretto-8.422.05.1 (build 1.8.0_422-b05)
OpenJDK 64-Bit Server VM Corretto-8.422.05.1 (build 25.422-b05, mixed mode)
- Tomcat 9.0.14
- A basic webapp deployed in it to recieve requests on http or even the Tomcat default works, i.e.; /examples.
Expected behavior
As on Intel or x86 architecture it should produce http_server_* and http_client_* metrics seamlessly.
Actual behavior
Not producing http_server_* and http_client_* metrics seamlessly on ARM architecture.
Javaagent or library instrumentation version
2.4.0, 2.6.0, 2.9.0
Environment
JDK: Temurin 11.0.25, OpenJDK Runtime Environment Corretto-8.422.05.1 (build 1.8.0_422-b05)
OS: Amazon Linux 2023, MacOs
Additional context
No response