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

[exporter/awsxray] Favour semconv attributes for QueueURL and TableName #16076

Merged
merged 3 commits into from Nov 11, 2022

Conversation

lukestoward
Copy link
Contributor

@lukestoward lukestoward commented Nov 4, 2022

Description:

THe AWS X-Ray Exporter does not use semantic convention attributes when attempting to populate the queueURL and tableName attributes. Instead it only looks for the X-Ray custom attributes. This PR extends the behaviour to favour the semantic convention attributes (if set). This was motivated by the recent discussion on the PR that extended the AWS-SDK-Go-v2 instrumentation library otelaws. See discussion. (cc. @Aneurysm9)

Link to tracking Issue: #16075

@TylerHelmuth
Copy link
Member

Pinging @willarmiros as code owner

@lukestoward
Copy link
Contributor Author

@willarmiros please could you take a look at this PR 😄 thanks.

Copy link
Contributor

@willarmiros willarmiros left a comment

Choose a reason for hiding this comment

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

I think in general this LGTM, just am having a hard time reading our own code and want a sanity check :)

Thank you very much for the contributions though! If you were so inclined, it would be very helpful to update our translation documentation as well!

Copy link
Contributor

@willarmiros willarmiros left a comment

Choose a reason for hiding this comment

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

LGTM

@bogdandrutu bogdandrutu merged commit a7a431a into open-telemetry:main Nov 11, 2022
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector-contrib that referenced this pull request Nov 16, 2022
…me (open-telemetry#16076)

* [exporter/awsxray] Favour semconv attributes when populating Queue URL and Table Name

* Fix linter complaint about spelling

* Reinstate redundant test code
shalper2 pushed a commit to shalper2/opentelemetry-collector-contrib that referenced this pull request Dec 6, 2022
…me (open-telemetry#16076)

* [exporter/awsxray] Favour semconv attributes when populating Queue URL and Table Name

* Fix linter complaint about spelling

* Reinstate redundant test code
@plantfansam plantfansam mentioned this pull request Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants