Ask help for Opentelemetry Lettuce #13561
-
In advanced thanks for help. As docs, I finished these job: 1、include dependencies 2、add the properties to my application.yml: As the origin expect, redis's metrics will appear in my tempo trace. But in act, it just shows the mysql metrics like the pic I'm sure that there is redis call in this trace. And my program is based on spring-boot 3.1.6 Thanks again. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Currently spring boot starter does not include lettuce instrumentation. Lettuce instrumentation is include in the java agent. There is also a standalone instrumentation library https://central.sonatype.com/artifact/io.opentelemetry.instrumentation/opentelemetry-lettuce-5.1 See tests in https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/lettuce/lettuce-5.1/library/src/test/java/io/opentelemetry/instrumentation/lettuce/v5_1 on how to configure the lettuce client to use it. |
Beta Was this translation helpful? Give feedback.
Currently spring boot starter does not include lettuce instrumentation. Lettuce instrumentation is include in the java agent. There is also a standalone instrumentation library https://central.sonatype.com/artifact/io.opentelemetry.instrumentation/opentelemetry-lettuce-5.1 See tests in https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/lettuce/lettuce-5.1/library/src/test/java/io/opentelemetry/instrumentation/lettuce/v5_1 on how to configure the lettuce client to use it.