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

contrib/aws/aws-sdk-go-v2/aws: Adding LoadOptionsFunc implementation #2095

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dcarbone
Copy link

@dcarbone dcarbone commented Jul 5, 2023

What does this PR do?

Addresses #2094 by adding a WithDataDogTracer func that adheres to the AWS SDK Go V2 config.LoadOptionFunc type.

Motivation

I need to be able to configure the DD Tracer without directly having access to a config type.

Describe how to test/QA your changes

It functions identically to the current AppendMiddleware func, but appends to the APIOptions present on the LoadOptions type instead of the config type directly.

Reviewer's Checklist

  • Changed code has unit tests for its functionality.
  • If this interacts with the agent in a new way, a system test has been added.

@dcarbone dcarbone requested a review from a team July 5, 2023 13:56
@rarguelloF rarguelloF added the apm:ecosystem contrib/* related feature requests or bugs label Jul 27, 2023
@rarguelloF rarguelloF changed the title Adding LoadOptionsFunc implementation contrib/aws/aws-sdk-go-v2/aws: Adding LoadOptionsFunc implementation Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:ecosystem contrib/* related feature requests or bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants