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: Add support for SNS publish and publish_batch #1409

Merged
merged 8 commits into from
Nov 24, 2022

Conversation

mariojonke
Copy link
Contributor

@mariojonke mariojonke commented Oct 27, 2022

Description

Adds an extension to support SNS publish and publish_batch service calls made with botocore and boto3.
Included are:

  • extracting and setting relevant span attributes: messaging.system, messaging.destination, messaging.destination_kind
  • context propagation via MessageAttributes in SNS message.
  • setting proper span kind and span name

This PR follows mostly what is already implemented in the Node.Js AWS SDK instrumentation.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Adds additional unit tests.

Does This PR Require a Core Repo Change?

  • No.

Checklist:

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

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added

@mariojonke mariojonke requested a review from a team October 27, 2022 09:55
@ocelotl
Copy link
Contributor

ocelotl commented Nov 16, 2022

Please resolve conflicts ✌️

@mariojonke
Copy link
Contributor Author

@ocelotl, @srikanthccv can this be merged or does it require any changes?

@srikanthccv srikanthccv merged commit 2179fb9 into open-telemetry:main Nov 24, 2022
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.

3 participants