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 sigv4 config to common #309

Closed
wants to merge 1 commit into from
Closed

Conversation

treid314
Copy link
Contributor

As requested here: prometheus/alertmanager#2559 (comment)
Will throw error if a user doesn't supply username and secret key

Signed-off-by: Tyler Reid tyler.reid@grafana.com

…d secret key

Signed-off-by: Tyler Reid <tyler.reid@grafana.com>

Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
@roidelapluie
Copy link
Member

Hello, I do not think sigv4 belongs in config.

We should instead have the sigv4 config and the roundtripper in a github.com/prometheus/common/sigv4 package, together with its own go.mod. That way, we can reuse the code easily between Prometheus RW and alertmanager without ading AWS as dependency of common.

Thanks.

@treid314
Copy link
Contributor Author

Oh! I totally misunderstood, I can do that! I'm going to close this PR and make a new one with the sigv4 module.

@treid314 treid314 closed this Jun 17, 2021
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.

None yet

2 participants