-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement consumer part of rocketmq new client instrumentation #7019
Implement consumer part of rocketmq new client instrumentation #7019
Conversation
4550348
to
82d1cc3
Compare
...opentelemetry/javaagent/instrumentation/rocketmqclient/v5_0/RocketMqInstrumenterFactory.java
Outdated
Show resolved
Hide resolved
@laurit , I noticed this issue #6804. It seems that the message consumption procedure of RocketMQ is more similar to Kafka rather than JMS, which means the process span is always there and the receive span is just an addition. So I add the message receiving instrumentation flag and keep it consistent with Kafka. |
...telemetry/javaagent/instrumentation/rocketmqclient/v5_0/RocketMqConsumerInstrumentation.java
Outdated
Show resolved
Hide resolved
...telemetry/javaagent/instrumentation/rocketmqclient/v5_0/RocketMqConsumerInstrumentation.java
Outdated
Show resolved
Hide resolved
43bb101
to
71ce4c0
Compare
71ce4c0
to
59ab0f3
Compare
...opentelemetry/javaagent/instrumentation/rocketmqclient/v5_0/RocketMqInstrumenterFactory.java
Outdated
Show resolved
Hide resolved
...telemetry/javaagent/instrumentation/rocketmqclient/v5_0/RocketMqConsumerInstrumentation.java
Outdated
Show resolved
Hide resolved
instrumentation/rocketmq/rocketmq-client/rocketmq-client-5.0/javaagent/build.gradle.kts
Outdated
Show resolved
Hide resolved
...ry/javaagent/instrumentation/rocketmqclient/v5_0/RocketMqMessageListenerInstrumentation.java
Outdated
Show resolved
Hide resolved
...ry/javaagent/instrumentation/rocketmqclient/v5_0/RocketMqMessageListenerInstrumentation.java
Outdated
Show resolved
Hide resolved
...in/java/io/opentelemetry/instrumentation/rocketmqclient/v5_0/AbstractRocketMqClientTest.java
Outdated
Show resolved
Hide resolved
...in/java/io/opentelemetry/instrumentation/rocketmqclient/v5_0/AbstractRocketMqClientTest.java
Outdated
Show resolved
Hide resolved
...in/java/io/opentelemetry/instrumentation/rocketmqclient/v5_0/AbstractRocketMqClientTest.java
Outdated
Show resolved
Hide resolved
Hey @aaron-ai , |
c5012d4
to
75ae828
Compare
75ae828
to
96b297b
Compare
@mateuszrzeszutek thanks for your opnions, all issues were fixed already. but there were a few unpassed tests not related to this PR seemingly, could you re-run the unpassed tests? |
…ketmq_consumer_instrumentation
@aaron-ai heads up I merged main into your branch to fix the CI failures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx @aaron-ai!
...entelemetry/javaagent/instrumentation/rocketmqclient/v5_0/ConsumeServiceInstrumentation.java
Outdated
Show resolved
Hide resolved
...a/io/opentelemetry/javaagent/instrumentation/rocketmqclient/v5_0/MessageListenerWrapper.java
Outdated
Show resolved
Hide resolved
...javaagent/instrumentation/rocketmqclient/v5_0/RocketMqConsumerProcessAttributeExtractor.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Thanks @aaron-ai !
Fixes #6764 , This PR is about the consumer part.