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 HTTP headers #57

Open
kwSeo opened this issue Jul 23, 2023 · 0 comments
Open

Support custom HTTP headers #57

kwSeo opened this issue Jul 23, 2023 · 0 comments

Comments

@kwSeo
Copy link

kwSeo commented Jul 23, 2023

In addition to Tenant header, we need to add custom HTTP header when RemoteWrite request.
How about providing the feature to add custom HTTP Headers like below?

Flag Name

--remote-custom-header

Example

avalanche --remote-url "http://host/prom/push" \
        --remote-tenant "fake" \
        --remote-tenant-header "x-my-tenant" \
        --remote-custom-header "x-custom-header: test1" \
        --remote-custom-header "Authorization: Bearer abcdefg"
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

No branches or pull requests

1 participant