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

[exporter/datadogexporter] Migrating datadog exporter to use aws sdk v2 #36797

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

Conversation

LZiHaN
Copy link

@LZiHaN LZiHaN commented Dec 12, 2024

Description

Migrating datadog exporter to use aws sdk v2

Link to tracking issue

refer to #36699

Testing

passes tests.
updated mock client implementations to support the new SDK interfaces.

Documentation

no need to update.

if err != nil {
return nil, err
}
return &Provider{
logger: logger,
detector: ec2provider.NewProvider(sess),
detector: ec2provider.NewProvider(cfg),
Copy link
Author

Choose a reason for hiding this comment

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

The datadogexporter depends on the NewProvider function from metadataproviders, and the resourcedetectionprocessor also relies on the same function.

@mx-psi
Copy link
Member

mx-psi commented Dec 12, 2024

@LZiHaN can you fix the merge conflict? Otherwise the tests won't run

@LZiHaN
Copy link
Author

LZiHaN commented Dec 12, 2024

@LZiHaN can you fix the merge conflict? Otherwise the tests won't run

done.

@LZiHaN LZiHaN closed this Dec 12, 2024
@LZiHaN LZiHaN reopened this Dec 12, 2024
@mx-psi
Copy link
Member

mx-psi commented Dec 12, 2024

Looks like there are some linting errors, could you take a look at those?

@LZiHaN
Copy link
Author

LZiHaN commented Dec 13, 2024

Looks like there are some linting errors, could you take a look at those?

I’ve addressed the linting errors and tested everything locally. Please feel free to let me know if there’s anything else I should take a look at!

@mx-psi mx-psi added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connector/datadog exporter/datadog Datadog components internal/metadataproviders processor/resourcedetection Resource detection processor Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants