fleet/tools/app/prometheus.yml
Lucas Manuel Rodriguez 60b7425bef
Add http basic auth to /metrics (#4974)
* Add http basic auth to /metrics

* Fixes after testing applying of a --config sample.yml

* Add unit test
2022-04-07 09:40:53 -03:00

12 lines
257 B
YAML

scrape_configs:
- job_name: fleet
scheme: https
scrape_interval: 5s
static_configs:
- targets: ['host.docker.internal:8080']
tls_config:
insecure_skip_verify: true
basic_auth:
username: fleet
password: insecure