Add basic auth for endpoints.
This commit is contained in:
@@ -6,13 +6,19 @@ 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']
|
||||||
basic_auth:
|
basic_auth:
|
||||||
username: chris
|
username: chris
|
||||||
password: 9VJqWNxku4hHdB2zhjk4GHyMLQHCZX
|
password: 9VJqWNxku4hHdB2zhjk4GHyMLQHCZX
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user