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

botocore: sns set destination name attribute to arn and redact phone number #3249

Merged
merged 10 commits into from
Mar 10, 2025

Conversation

emdneto
Copy link
Member

@emdneto emdneto commented Feb 7, 2025

instrumentation/opentelemetry-instrumentation-botocore/tests/test_botocore_sns.py::TestSnsExtension::test_publish_to_phone_number 
-------------------------------------------------------------------------------- live log call --------------------------------------------------------------------------------
WARNING  opentelemetry.attributes:__init__.py:100 Invalid type NoneType for attribute 'messaging.destination.name' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
@emdneto emdneto marked this pull request as ready for review February 11, 2025 14:29
@emdneto emdneto requested a review from a team as a code owner February 11, 2025 14:29
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
@emdneto emdneto changed the title botocore: sns set destination name attribute only if not phone number botocore: sns set destination name attribute to arn and redact phone number Feb 13, 2025
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
@xrmx xrmx enabled auto-merge (squash) March 10, 2025 09:32
@xrmx xrmx merged commit 3708604 into open-telemetry:main Mar 10, 2025
712 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants