prometheus/cmd/promtool/testdata/authorization_credentials_file.good.yml
Filip Petkovski 5849521e90
promtool: Fix credentials file check (#9883)
The promtool check config command still uses the bearer_token_file
field which is deprecated in favour of authorization.credentials_file.

This commit modifies the command to use the new field insted.

Fixes #9874

Signed-off-by: fpetkovski <filip.petkovsky@gmail.com>
2021-11-30 15:02:07 +11:00

5 lines
82 B
YAML

scrape_configs:
- job_name: test
authorization:
credentials_file: "."