summaryrefslogtreecommitdiffstats
path: root/csit/metrics/prometheus.yml
diff options
context:
space:
mode:
Diffstat (limited to 'csit/metrics/prometheus.yml')
-rw-r--r--csit/metrics/prometheus.yml23
1 files changed, 4 insertions, 19 deletions
diff --git a/csit/metrics/prometheus.yml b/csit/metrics/prometheus.yml
index 255ecd08..1b292cd7 100644
--- a/csit/metrics/prometheus.yml
+++ b/csit/metrics/prometheus.yml
@@ -16,11 +16,10 @@
# ============LICENSE_END=====================================================
#
-# my global config
+# global config
global:
- scrape_interval: 60s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
- evaluation_interval: 60s # Evaluate rules every 15 seconds. The default is every 1 minute.
- #scrape_timeout is set to the global default (10s).
+ scrape_interval: 60s
+ evaluation_interval: 60s
# Alertmanager configuration
alerting:
@@ -29,22 +28,8 @@ alerting:
- targets:
# - alertmanager:9093
-# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
-rule_files:
- # - "first_rules.yml"
- # - "second_rules.yml"
-
-# A scrape configuration containing exactly one endpoint to scrape:
-# Here it's Prometheus itself.
+# scrape config
scrape_configs:
- # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
-# - job_name: "prometheus"
-#
-# # metrics_path defaults to '/metrics'
-# # scheme defaults to 'http'.
-#
-# static_configs:
-# - targets: ["localhost:9090"]
- job_name: "api-metrics"
static_configs: