From 567149e0dc8550aecef0b1f0e7a839f21861535e Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw)" <3293172751nss@gmail.com> Date: Tue, 14 Nov 2023 16:11:14 +0800 Subject: [PATCH] fix: fix prom config file them Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> --- config/prometheus.yml | 2 +- deployments/templates/prometheus.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/prometheus.yml b/config/prometheus.yml index 9c62923b1..328788d1a 100644 --- a/config/prometheus.yml +++ b/config/prometheus.yml @@ -19,7 +19,7 @@ rule_files: # A scrape configuration containing exactly one endpoint to scrape: # Here it's Prometheus itself. 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 - job_name: 'node-exporter' static_configs: diff --git a/deployments/templates/prometheus.yml b/deployments/templates/prometheus.yml index 20d63f870..2b67a18ed 100644 --- a/deployments/templates/prometheus.yml +++ b/deployments/templates/prometheus.yml @@ -19,7 +19,7 @@ rule_files: # A scrape configuration containing exactly one endpoint to scrape: # Here it's Prometheus itself. scrape_configs: - # The job name is added as a label `job=` 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 - job_name: 'node-exporter' static_configs: