Merge branch 'huegelc-huegelc-patch-expose-consoles' into version-2
This commit is contained in:
commit
f5d6df9d1d
@ -19,6 +19,8 @@ services:
|
||||
- '-config.file=/etc/prometheus/prometheus.yml'
|
||||
- '-storage.local.path=/prometheus'
|
||||
- '-alertmanager.url=http://alertmanager:9093'
|
||||
- '-web.console.libraries=/usr/share/prometheus/console_libraries'
|
||||
- '-web.console.templates=/usr/share/prometheus/consoles'
|
||||
expose:
|
||||
- 9090
|
||||
ports:
|
||||
|
@ -20,6 +20,7 @@ rule_files:
|
||||
scrape_configs:
|
||||
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
||||
- job_name: 'prometheus'
|
||||
- job_name: 'node'
|
||||
|
||||
# Override the global default and scrape targets from this job every 5 seconds.
|
||||
scrape_interval: 5s
|
||||
|
Loading…
Reference in New Issue
Block a user