-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[exporter/awsxrayexporter] fix messaging system logic #42633
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
[exporter/awsxrayexporter] fix messaging system logic #42633
Conversation
|
Welcome, contributor! Thank you for your contribution to opentelemetry-collector-contrib. Important reminders:
A maintainer will review your pull request soon. Thank you for helping make OpenTelemetry better! |
wangzlei
left a comment
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.
literally, consumer span is the local root span, should be translated to xray Segment instead of Subsegment.
|
Welcome, contributor! Thank you for your contribution to opentelemetry-collector-contrib. Important reminders:
A maintainer will review your pull request soon. Thank you for helping make OpenTelemetry better! |
|
@TylerHelmuth Please help merge the PR, thanks! |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
Thank you for your contribution @ezhang6811! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey. |
…#42633) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Set `namespace="remote"` for producer spans so that X-ray will infer a downstream service node. Changed consumer spans to be segments so that they can correlate to their own node while being downstream from the producer. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#40995 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests for producer span and updated unit tests for consumer spans. <!--Please delete paragraphs that you did not use before submitting.-->
…#42633) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Set `namespace="remote"` for producer spans so that X-ray will infer a downstream service node. Changed consumer spans to be segments so that they can correlate to their own node while being downstream from the producer. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#40995 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests for producer span and updated unit tests for consumer spans. <!--Please delete paragraphs that you did not use before submitting.-->
…#42633) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Set `namespace="remote"` for producer spans so that X-ray will infer a downstream service node. Changed consumer spans to be segments so that they can correlate to their own node while being downstream from the producer. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#40995 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests for producer span and updated unit tests for consumer spans. <!--Please delete paragraphs that you did not use before submitting.-->
…#42633) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Set `namespace="remote"` for producer spans so that X-ray will infer a downstream service node. Changed consumer spans to be segments so that they can correlate to their own node while being downstream from the producer. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#40995 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests for producer span and updated unit tests for consumer spans. <!--Please delete paragraphs that you did not use before submitting.-->
Description
Set
namespace="remote"for producer spans so that X-ray will infer a downstream service node. Changed consumer spans to be segments so that they can correlate to their own node while being downstream from the producer.Link to tracking issue
Fixes #40995
Testing
Added unit tests for producer span and updated unit tests for consumer spans.