OpenTelemetry agent logging WARN message for (Instrument db.client.connections.max has recorded multiple values for the same attributes) #11821
Replies: 1 comment
-
I removed the poolName attribute. It solved the issues for me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ! I have a issue that my application is logging this following WARN every second.
[otel.javaagent 2024-07-15 14:51:57:499 +0200] [PeriodicMetricReader-1] WARN io.opentelemetry.sdk.metrics.internal.state.AsynchronousMetricStorage - Too many log messages detected. Will only log once per minute from now on. [otel.javaagent 2024-07-15 14:51:57:499 +0200] [PeriodicMetricReader-1] WARN io.opentelemetry.sdk.metrics.internal.state.AsynchronousMetricStorage - Instrument db.client.connections.usage has recorded multiple values for the same attributes: {pool.name="HikariPool-sokos-spk-mottak-DB2", state="idle"}
My application is connected to two multiple databases. One is Postgres and another one is IBM DB2. WARNevery second only occurs for db2 connection. Its annoying that its logging every second. How can i fix it?
My HikariCP config is following:
Anyone have any idea how to solve this issue?
I am using the latest version of opentelemetry-javaagent.jar
Beta Was this translation helpful? Give feedback.
All reactions