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

Need information on setting the Username and Password for Configured Thanos RemoteWrite Url #21

Open
sagarramamoorthi1986 opened this issue Aug 3, 2021 · 2 comments

Comments

@sagarramamoorthi1986
Copy link

Hi All,

I am using the below mentioned command for setting the configurations to send the data to thanos using remotewrite API.
docker run -p 9001:9001 quay.io/freshtracks.io/avalanche --metric-count=5 --label-count=2 --const-label=TenantId=tenant1 --const-label=ProductName=Pname --remote-url=http:///api/v1/receive

Need information on how to set the user name and password for the Thanos remote write URL to push the data to thanos.
When i checked the help options i dont see any option to set Username and Pwd .

@bill3tt
Copy link
Contributor

bill3tt commented Oct 7, 2021

Prometheus remote_write basic_auth is not currently supported in avalanche - hence why you can't find it in the --help.

Given that this repository is relatively low velocity, I would suggest raising a PR to implement this functionality yourself.

@eraac
Copy link

eraac commented Nov 10, 2021

Can not be done using https://<username>:<password>@<url>/<path> format? Not the best but probably a good workaround

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

3 participants