Skip to content

Conversation

@weslayer
Copy link
Contributor

@weslayer weslayer commented Jun 5, 2025

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.

  • Bug fix (non-breaking change which fixes an issue)

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

  • tox

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project

@weslayer
Copy link
Contributor Author

weslayer commented Jun 5, 2025

unsure what is going on what the tox tests and versioning. could someone help guide me?

_DynamoDbExtension,
)
from opentelemetry.semconv.trace import SpanAttributes
from opentelemetry.semconv._incubating.attributes.aws_attributes import (
Copy link
Contributor

Choose a reason for hiding this comment

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

Since these are a lot maybe just import aws_attributes and reference them as aws_attributes.AWS_DYNAMO_WHATEVER?

Comment on lines -122 to +116
span.attributes[SpanAttributes.MESSAGING_DESTINATION],
span.attributes[MESSAGING_DESTINATION_NAME],
Copy link
Contributor

Choose a reason for hiding this comment

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

these are different

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I cannot find the original SpanAttributes.MESSAGING_DESTINATION.
image

Copy link
Contributor

Choose a reason for hiding this comment

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

Then don't update it and keep the current one

Copy link
Contributor

Choose a reason for hiding this comment

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

@weslayer here the sames situation:

# TODO: Update this implementation once the semantic conventions for messaging stabilize

)

span = self.assert_span(f"{self.topic_name} send")
self.assertEqual(
Copy link
Contributor

Choose a reason for hiding this comment

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

You must not drop assertions

@xrmx xrmx moved this to Reviewed PR that needs fixing in @xrmx's Python PR digest Jun 5, 2025
@xrmx xrmx added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jun 6, 2025
self.assertEqual(
"phone_number:**",
span.attributes[SpanAttributes.MESSAGING_DESTINATION],
span.attributes[MESSAGING_DESTINATION_NAME],
Copy link
Contributor

Choose a reason for hiding this comment

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

The sames here. You should keep SpanAttributes....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

Status: Reviewed PRs that need fixes

Development

Successfully merging this pull request may close these issues.

3 participants