fix: fix prom config file them

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
pull/1403/head
Xinwei Xiong(cubxxw) 2 years ago
parent 8d4acada4c
commit 567149e0dc

@ -19,7 +19,7 @@ rule_files:
# A scrape configuration containing exactly one endpoint to scrape: # A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself. # Here it's Prometheus itself.
scrape_configs: scrape_configs:
# The job name is added as a label to any timeseries scraped from this config. # The job name is added as a label "job='job_name'"" to any timeseries scraped from this config.
# Monitored information captured by prometheus # Monitored information captured by prometheus
- job_name: 'node-exporter' - job_name: 'node-exporter'
static_configs: static_configs:

@ -19,7 +19,7 @@ rule_files:
# A scrape configuration containing exactly one endpoint to scrape: # A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself. # Here it's Prometheus itself.
scrape_configs: scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config. # The job name is added as a label "job='job_name'"" to any timeseries scraped from this config.
# Monitored information captured by prometheus # Monitored information captured by prometheus
- job_name: 'node-exporter' - job_name: 'node-exporter'
static_configs: static_configs:

Loading…
Cancel
Save