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

Support custom headers in Config #21

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

philipgough
Copy link
Contributor

@philipgough philipgough commented May 25, 2022

It might be useful to be able to specify custom headers on top of the fields already exposed in the config.

@CLAassistant
Copy link

CLAassistant commented Jun 15, 2022

CLA assistant check
All committers have signed the CLA.

@philipgough
Copy link
Contributor Author

@mstoykov - what do you think about this change? Could we merge it?

@mstoykov
Copy link
Contributor

mstoykov commented Nov 9, 2022

The change seems fine to me, @dgzlopes, @replay any input on if this is necessary needed as I am more of the k6 person here instead of the prometheus one ;)

remote_write.go Outdated Show resolved Hide resolved
Copy link
Contributor

@replay replay left a comment

Choose a reason for hiding this comment

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

LGTM, just one minor non-blocking comment.

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
@philipgough
Copy link
Contributor Author

any input on if this is necessary needed

The use case here is to support other backends or proxies that use/require custom headers such as Thanos receive.

@philipgough
Copy link
Contributor Author

@mstoykov I think we are good here then? :)

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

5 participants