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

Change the way that X-Ray exporter annotation converter work #31732

Merged

Conversation

XinRanZhAWS
Copy link
Contributor

Description:
In the past, X-Ray doesn’t support “.”. So we have a translator in x-ray export to translates it to “_” before sending traces to X-Ray Service.

To match otel naming style, x-ray service team decide to change their service to support both "." type and "" type of naming. In this case the translator that translate "." to "" is no-longer needed. This PR change the way this translator work

X-Ray PMs agree on rolling out this change by using feature-gate

Testing:
Unit test

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

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

Please add a changelog

@XinRanZhAWS
Copy link
Contributor Author

Please add a changelog

Added, thanks

@XinRanZhAWS
Copy link
Contributor Author

@songy23 Hi Yang, thanks for you time :) Can you please help me to trigger the test run again? I found some lint issue and fixed :(

Copy link
Contributor

github-actions bot commented Apr 4, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Apr 4, 2024
@XinRanZhAWS
Copy link
Contributor Author

@atoulme @songy23 Hi Team, I taken a look at the test result and I believe it's fine. The only issue on the test is not related to my code (it's seems not even a issue, just an accidental terminate on the run). If you think the test is enough, can you help us merge the code? If not, can you try to rerun the test again? Thanks

@songy23 songy23 added ready to merge Code review completed; ready to merge by maintainers and removed Stale labels Apr 4, 2024
@andrzej-stencel andrzej-stencel merged commit 77cf7f3 into open-telemetry:main Apr 10, 2024
150 of 151 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 10, 2024
andrzej-stencel pushed a commit that referenced this pull request May 15, 2024
**Description:** 
Moving xray exporter allow-dot feature gate from alpha to beta stage

It's a follow up change for
#31732

**Testing:** Unit test

**Documentation:** 


https://github.com/XinRanZhAWS/opentelemetry-collector-contrib/blob/f0863f481445e7205e3096a9a536463e3a51de81/.chloggen/xray_exporter_allow_dot_annotation.yaml

Purpose of this feature gate:

In the past, X-Ray doesn’t support “.”. So we have a translator in x-ray
export to translates it to “_” before sending traces to X-Ray Service.

To match otel naming style, x-ray service team decide to change their
service to support both "." type and "" type of naming. In this case the
translator that translate "." to "" is no-longer needed. This PR change
the way this translator work

X-Ray PMs agree on rolling out this change by using feature-gate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/awsxray ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants