-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed as not planned
Labels
bugSomething isn't workingSomething isn't workingneeds author feedbackWaiting for additional feedback from the authorWaiting for additional feedback from the authorstale
Description
Describe the bug
We have a Java application that uses the Lettuce component to operate Redis. When we use OpenTelemetry JavaAgent to collect traces, we find that the CPU usage increases significantly. When we remove the Lettuce plugin, it returns to normal.
The screenshot of using jstack to find the thread that consumes the most CPU is as follows

Steps to reproduce
- start app without javaagent -> cpu usage normal
- start app with javaagent -> cpu usage increases significantly
- start app with javaagent but exclude lettuce plugin -> cpu usage normal
Expected behavior
cpu usage normal
Actual behavior
CPU usage increases significantly
Javaagent or library instrumentation version
javaagent: 2.2.0 lettuce: 5.0.4 spring-data-redis: 2.1.5
Environment
JDK: 1.8
OS: centos
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds author feedbackWaiting for additional feedback from the authorWaiting for additional feedback from the authorstale