Skip to content
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

fix bugs with dubbo #6640

Merged
merged 9 commits into from
Sep 23, 2022
Merged

fix bugs with dubbo #6640

merged 9 commits into from
Sep 23, 2022

Conversation

yingziisme
Copy link
Contributor

  1. fix NullPointerException with dubbo getMetadata request

  2. fix dubbo trace passing problem

the trace is third-demo -> consumer-demo -> provider-deme, but the parent of provider-demo is third-demo.
wrong data like this
image

after fixed
image

fix dubbo trace passing problem
fix NullPointerException  with dubbo getMetadata request
@yingziisme yingziisme requested a review from a team September 16, 2022 08:50
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 16, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@mateuszrzeszutek
Copy link
Member

Hey @yingziisme can you sign the CLA?

@yingziisme
Copy link
Contributor Author

Hey @yingziisme can you sign the CLA?

ok. signed.

@mateuszrzeszutek
Copy link
Member

mateuszrzeszutek commented Sep 19, 2022

Please run ./gradlew spotlessApply on you PR, looks like the build is failing on broken formatting.

Also, can you add a regression test for your case? Especially the broken propagation one

remove unused imports
@yingziisme
Copy link
Contributor Author

Please run ./gradlew spotlessApply on you PR, looks like the build is failing on broken formatting.

Also, can you add a regression test for your case? Especially the broken propagation one

Hey, Is it necessary to add the test? and do you mean the test with second bug?

@mateuszrzeszutek
Copy link
Member

Hey, Is it necessary to add the test? and do you mean the test with second bug?

It would be great if you could add one, cause it'd prevent this from happening again in case somebody modifies this instrumentation in the future.
Yeah, I meant the dubbo trace passing problem you mentioned in the OP

@yingziisme
Copy link
Contributor Author

Hey, Is it necessary to add the test? and do you mean the test with second bug?

It would be great if you could add one, cause it'd prevent this from happening again in case somebody modifies this instrumentation in the future. Yeah, I meant the dubbo trace passing problem you mentioned in the OP

Hey, test has added

Copy link
Member

@mateuszrzeszutek mateuszrzeszutek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!
Left a few minor comments, but overall it LGTM 👍

yingziisme and others added 4 commits September 23, 2022 11:54
…entelemetry/instrumentation/apachedubbo/v2_7/AbstractDubboTraceChainTest.groovy

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
…entelemetry/instrumentation/apachedubbo/v2_7/AbstractDubboTraceChainTest.groovy

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
…entelemetry/instrumentation/apachedubbo/v2_7/AbstractDubboTraceChainTest.groovy

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
@yingziisme
Copy link
Contributor Author

Looks great, thanks! Left a few minor comments, but overall it LGTM 👍

ok. these conversations have resolved.

Copy link
Member

@mateuszrzeszutek mateuszrzeszutek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mateuszrzeszutek mateuszrzeszutek merged commit d26e456 into open-telemetry:main Sep 23, 2022
LironKS pushed a commit to helios/opentelemetry-java-instrumentation that referenced this pull request Oct 23, 2022
1. fix NullPointerException with dubbo getMetadata request

2. fix dubbo trace passing problem

the trace is third-demo -> consumer-demo -> provider-deme, but the
parent of provider-demo is third-demo.
wrong data like this
<img width="1994" alt="image"
src="https://user-images.githubusercontent.com/22729740/190597029-ea26569e-96b4-4e30-8ac3-46ead3871b92.png">

after fixed 
<img width="2015" alt="image"
src="https://user-images.githubusercontent.com/22729740/190596923-d65f8646-377d-47ab-9e65-6d75f1407ce0.png">

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
LironKS pushed a commit to helios/opentelemetry-java-instrumentation that referenced this pull request Oct 31, 2022
1. fix NullPointerException with dubbo getMetadata request

2. fix dubbo trace passing problem

the trace is third-demo -> consumer-demo -> provider-deme, but the
parent of provider-demo is third-demo.
wrong data like this
<img width="1994" alt="image"
src="https://user-images.githubusercontent.com/22729740/190597029-ea26569e-96b4-4e30-8ac3-46ead3871b92.png">

after fixed 
<img width="2015" alt="image"
src="https://user-images.githubusercontent.com/22729740/190596923-d65f8646-377d-47ab-9e65-6d75f1407ce0.png">

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
LironKS pushed a commit to helios/opentelemetry-java-instrumentation that referenced this pull request Dec 4, 2022
1. fix NullPointerException with dubbo getMetadata request

2. fix dubbo trace passing problem

the trace is third-demo -> consumer-demo -> provider-deme, but the
parent of provider-demo is third-demo.
wrong data like this
<img width="1994" alt="image"
src="https://user-images.githubusercontent.com/22729740/190597029-ea26569e-96b4-4e30-8ac3-46ead3871b92.png">

after fixed 
<img width="2015" alt="image"
src="https://user-images.githubusercontent.com/22729740/190596923-d65f8646-377d-47ab-9e65-6d75f1407ce0.png">

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants