-
Notifications
You must be signed in to change notification settings - Fork 711
refactor (boto3sqs) spans #3542
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
base: main
Are you sure you want to change the base?
refactor (boto3sqs) spans #3542
Conversation
got rid of MESSAGING_DESTINATION_KIND (deprecated) |
...pentelemetry-instrumentation-boto3sqs/src/opentelemetry/instrumentation/boto3sqs/__init__.py
Show resolved
Hide resolved
from opentelemetry.semconv._incubating.attributes.server_attributes import ( | ||
SERVER_ADDRESS, | ||
) |
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.
Instead of the _incubating SERVER_ADDRESS
(deprecated), let's use the stable version.
from opentelemetry.semconv.trace import ( | ||
MessagingDestinationKindValues, | ||
MessagingOperationValues, |
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.
This is MessagingOperationTypeValues
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.
Thank you for the clarification. Is there a way to find which attribute correlates to which? The naming conventions for these sometimes do not match up such as the instance above.
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.
@weslayer You can check the actual string values of these constants, they usually match the expected attribute values, even if the naming conventions differ.
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.
Thank you, that is a good idea
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Refs #3475
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.