Add basic auth for endpoints.
This commit is contained in:
@@ -6,9 +6,15 @@ scrape_configs:
|
|||||||
- job_name: prometheus
|
- job_name: prometheus
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['prometheus.steinle-computer.de']
|
- targets: ['prometheus.steinle-computer.de']
|
||||||
|
basic_auth:
|
||||||
|
username: chris
|
||||||
|
password: 9VJqWNxku4hHdB2zhjk4GHyMLQHCZX
|
||||||
- job_name: node-exporter
|
- job_name: node-exporter
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['node-exporter.steinle-computer.de']
|
- targets: ['node-exporter.steinle-computer.de']
|
||||||
|
basic_auth:
|
||||||
|
username: chris
|
||||||
|
password: 9VJqWNxku4hHdB2zhjk4GHyMLQHCZX
|
||||||
- job_name: traefik
|
- job_name: traefik
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['traefik.steinle-computer.de']
|
- targets: ['traefik.steinle-computer.de']
|
||||||
|
|||||||
Reference in New Issue
Block a user