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

s3 exporter: exporter improvements and migration v2 aws sdk #36698

Merged

Conversation

MovieStoreGuy
Copy link
Contributor

Description

With the annoucement of eol for the aws v1 sdk, this will give the project time to adopt the latest SDK to provide feedback.

Furthermore, there is also minor code improvements to improve maintainability.

Link to tracking issue

Testing

Included unit tests as part of the changes.

Documentation

This is mostly a behaviourally change, and shouldn't have any user impact but it is worth calling out.

This change migrates the exporter to use sdk v2 while also providing
some code improvements.
@MovieStoreGuy
Copy link
Contributor Author

Is action for #36699

@MovieStoreGuy MovieStoreGuy merged commit dec4a7b into open-telemetry:main Dec 6, 2024
158 checks passed
@github-actions github-actions bot added this to the next release milestone Dec 6, 2024
ZenoCC-Peng pushed a commit to ZenoCC-Peng/opentelemetry-collector-contrib that referenced this pull request Dec 6, 2024
…emetry#36698)

#### Description

With the annoucement of
[eol](https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/)
for the aws v1 sdk, this will give the project time to adopt the latest
SDK to provide feedback.

Furthermore, there is also minor code improvements to improve
maintainability.

#### Link to tracking issue

<!--Describe what testing was performed and which tests were added.-->
#### Testing

Included unit tests as part of the changes.

<!--Describe the documentation added.-->
#### Documentation

This is mostly a behaviourally change, and shouldn't have any user
impact but it is worth calling out.
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
…emetry#36698)

#### Description

With the annoucement of
[eol](https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/)
for the aws v1 sdk, this will give the project time to adopt the latest
SDK to provide feedback.

Furthermore, there is also minor code improvements to improve
maintainability.

#### Link to tracking issue

<!--Describe what testing was performed and which tests were added.-->
#### Testing

Included unit tests as part of the changes.

<!--Describe the documentation added.-->
#### Documentation

This is mostly a behaviourally change, and shouldn't have any user
impact but it is worth calling out.
@rslinckx
Copy link

I recently upgraded my opentelemetry collector and ran across an issue with the new v2 aws sdk along with a google cloud storage using S3 compatibility API.

The issue is described here: aws/aws-sdk-go-v2#1816 and also here: https://stackoverflow.com/questions/73717477/gcp-cloud-storage-golang-aws-sdk2-upload-file-with-s3-interoperability-creds

It seems the sdk v2 is no longer compatible with GCS at least without injecting some middleware code to mangle some headers.

Would you consider adding this "workaround" or is it out of scope ?

It seems there is no native GCS exporter equivalent to awss3 exporter.

@atoulme
Copy link
Contributor

atoulme commented Dec 18, 2024

Moved to new issue #36885

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.

4 participants