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

Passing http client to S3 client #1786

Merged
merged 1 commit into from
Aug 26, 2022
Merged

Conversation

linzhp
Copy link
Contributor

@linzhp linzhp commented Aug 25, 2022

What is the problem I am trying to address?

Athens doesn't emit metrics when it calls to S3

How is the fix applied?

Athens already has an HTTP client created from go.opencensus.io/plugin/ochttp, which can "that instruments all outgoing requests with OpenCensus stats and tracing". So we can pass that to S3 client.

@linzhp linzhp requested a review from a team as a code owner August 25, 2022 22:19
Copy link
Contributor

@marwan-at-work marwan-at-work left a comment

Choose a reason for hiding this comment

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

Thank you!

@marwan-at-work marwan-at-work merged commit e97cb5f into gomods:main Aug 26, 2022
@linzhp linzhp deleted the http_client branch August 26, 2022 14:52
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.

2 participants