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

push-gateway does not support passing authentication information #365

Closed
JasonLi-cn opened this issue Apr 27, 2023 · 2 comments
Closed

push-gateway does not support passing authentication information #365

JasonLi-cn opened this issue Apr 27, 2023 · 2 comments

Comments

@JasonLi-cn
Copy link
Contributor

PushGateway { endpoint: Uri, interval: Duration },

Currently, pus-gateway only supports passing uri and interval, but not username and password.

@dzmitry-lahoda
Copy link

yeah, better have HTTPs support and support for default format for push in grafana cloud

API_KEY="<USER>:<TOKEN>"
URL="https://influx-prod-10-prod-us-central-0.grafana.net/api/v1/push/influx/write"

curl -X  POST -H  "Authorization: Bearer $API_KEY" -H  "Content-Type: text/plain" "$URL" -d "test,bar_label=abc,source=grafana_cloud_docs metric=35.2"

@tobz
Copy link
Member

tobz commented May 9, 2023

Addressed via #366.

@tobz tobz closed this as completed May 9, 2023
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