Add basic auth for endpoints.

This commit is contained in:
Christian Steinle
2022-09-16 11:35:21 +02:00
parent 9772f6d11d
commit 5a9539bd7a

View File

@@ -6,9 +6,15 @@ scrape_configs:
- job_name: prometheus
static_configs:
- targets: ['prometheus.steinle-computer.de']
basic_auth:
username: chris
password: 9VJqWNxku4hHdB2zhjk4GHyMLQHCZX
- job_name: node-exporter
static_configs:
- targets: ['node-exporter.steinle-computer.de']
basic_auth:
username: chris
password: 9VJqWNxku4hHdB2zhjk4GHyMLQHCZX
- job_name: traefik
static_configs:
- targets: ['traefik.steinle-computer.de']