Wrong header in prometheus-remote-write example
annettejanewilson opened this issue · comments
Annette Wilson commented
The "Getting Started" example for the Prometheus remote write plugin contains valid configuration that will result in the submitted metrics being rejected with a 400 error due to using the wrong name for the authorization header. It sets a header called "bearer_token" when it should set a header "Authorization" to have a value of "Bearer $YOUR_TOKEN_HERE".
I've submitted a PR to fix this.
Annette Wilson commented
The PR has been merged and it looks good. Thanks!