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

handling http semantic convention breaking changes in v1.23.0 #31120

Merged
merged 9 commits into from
Feb 27, 2024
Merged

handling http semantic convention breaking changes in v1.23.0 #31120

merged 9 commits into from
Feb 27, 2024

Conversation

wangzlei
Copy link
Contributor

@wangzlei wangzlei commented Feb 7, 2024

Description:

awsxrayexporter is able to handle both old and new versions of http span attributes, support translate new http attributes to xray segment fields by following http server span and client span spec.

Link to tracking Issue:
#30935

Testing:

Documentation:
https://opentelemetry.io/blog/2023/http-conventions-declared-stable/

Copy link
Contributor

@thpierce thpierce left a comment

Choose a reason for hiding this comment

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

Didn't review tests, will make time to review tmrw.

exporter/awsxrayexporter/internal/translator/http.go Outdated Show resolved Hide resolved
exporter/awsxrayexporter/internal/translator/http.go Outdated Show resolved Hide resolved
exporter/awsxrayexporter/internal/translator/http.go Outdated Show resolved Hide resolved
exporter/awsxrayexporter/internal/translator/http.go Outdated Show resolved Hide resolved
exporter/awsxrayexporter/internal/translator/http.go Outdated Show resolved Hide resolved
exporter/awsxrayexporter/internal/translator/http.go Outdated Show resolved Hide resolved
exporter/awsxrayexporter/internal/translator/http.go Outdated Show resolved Hide resolved
exporter/awsxrayexporter/internal/translator/http.go Outdated Show resolved Hide resolved
@wangzlei
Copy link
Contributor Author

@bogdandrutu @atoulme Would you help us review and merge this PR?
AWS CloudWatch schedules a release next week, right now we are blocked by this PR.

@wangzlei
Copy link
Contributor Author

@open-telemetry/collector-contrib-approvers Would you help us review and merge this PR?
AWS CloudWatch schedules a release this week, right now we are blocked by this PR.

@TylerHelmuth
Copy link
Member

Please address lint issues

@wangzlei
Copy link
Contributor Author

Please address lint issues

@TylerHelmuth addressed! Please take a look.

@wangzlei
Copy link
Contributor Author

@open-telemetry/collector-contrib-approvers Would you help us review and merge this PR?
AWS CloudWatch schedules a release this week, right now we are blocked by this PR. Appreciate!

@bryan-aguilar bryan-aguilar added the ready to merge Code review completed; ready to merge by maintainers label Feb 27, 2024
@TylerHelmuth TylerHelmuth merged commit fe35716 into open-telemetry:main Feb 27, 2024
147 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 27, 2024
XinRanZhAWS pushed a commit to XinRanZhAWS/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
…elemetry#31120)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

`awsxrayexporter` is able to handle both old and new versions of http
span attributes, support translate new http attributes to xray segment
fields by following http [server
span](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/http-spans.md#http-server)
and [client
span](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/http-spans.md#http-client)
spec.

**Link to tracking Issue:** <Issue number if applicable>

open-telemetry#30935

**Testing:** <Describe what testing was performed and which tests were
added.>

**Documentation:** <Describe the documentation added.>
https://opentelemetry.io/blog/2023/http-conventions-declared-stable/

---------

Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
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