fluent / fluent-bit-docs

Fluent Bit - Official Documentation

Home Page:https://docs.fluentbit.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong header in prometheus-remote-write example

annettejanewilson opened this issue · comments

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.

The PR has been merged and it looks good. Thanks!