Unable to collect db.client.operation.duration #16419
-
|
Hello,
However, the “db.client.operation.duration” metric does not show up. Instrumentation: io.opentelemetry.jdbc:2.25.0-alpha My configuration is quite usual. I tested with otel.instrumentation.jdbc.experimental.capture-query-parameters=false The agent log is attached. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks, For example, the jdbc as well as hibernate tracers seem to be active. But still no db.client.operation.duration metric available yet. How is it possible to detect what is going on in the log? Regards, |
Beta Was this translation helpful? Give feedback.
-
|
External configuration file via -Dotel.javaagent.configuration-file is used. The configuration contains value for quite different settings like
I have developed own instrumentation for some of our proprietary frameworks, and by now it is quite mature environment. Everything worked as expected so far. The data is sent according to the otel.exporter.otlp.endpoint setting (there are several). The resource attributes and the service name are set. The required instrumentation is enabled/disabled correspondingly. Like when I set now I’d not know why everything works but the Where db.collection.name should be visible instead of db.sql.table? db.client.connections attributes are like I will try to check whether the db.operation metric is there but simply does not show up in any used UIs. Thanks, |
Beta Was this translation helpful? Give feedback.
-
in attributes of
Looking at I get the impression that unfortunately this flag currently has to be specified as a system property or an environment variable. |
Beta Was this translation helpful? Give feedback.
in attributes of