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

Add ExAws instrumentation #152

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Cantido
Copy link

@Cantido Cantido commented Feb 28, 2023

ExAws just merged the necessary telemetry changes that include the AWS service name and operation in the telemetry metadata. It hasn't been included in a published version yet, but I wanted to get this ready for when it does, since my company uses ExAws heavily.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 28, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: Cantido / name: Rosa Richter (93f38eb)

@tsloughter
Copy link
Member

Great!

It doesn't have to hold this initial version up but since you mention dynamodb, does the telemetry metadata include what is required for the required attributes for dynamodb, https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/instrumentation/aws-sdk.md#dynamodb so those can be added in the future?

@Cantido
Copy link
Author

Cantido commented Feb 28, 2023

Unfortunately the telemetry doesn't include any of the request or response data. I can put in a PR there to see if they're willing to add it.

@Cantido
Copy link
Author

Cantido commented Mar 12, 2023

ExAws merged my PR for including request and response bodies in the telemetry, so now this instrumentation library can include DynamoDB data. I've pushed the lib code and I'm working on tests now. This will need to be fairly well-covered by tests since every API operation has its own fields to parse out.

@tsloughter
Copy link
Member

@Cantido thanks again! Is this ready now then?

@Cantido
Copy link
Author

Cantido commented Mar 28, 2023

I've had a busy week of work, but it's nearly finished! I just need to add the tests for the remaining DynamoDB operations.

@prithvihv-wooga
Copy link

Hi @Cantido
Could I help with filling out the tests? We would love to use this from directly from the public hex repository 😁

@Cantido
Copy link
Author

Cantido commented May 15, 2024 via email

@prithvihv-wooga
Copy link

Hi @Cantido

Do you think you will be able to find some time to review and help close: Cantido#1 ?

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.

3 participants