aboutsummaryrefslogtreecommitdiffstats
path: root/csit/metrics/prometheus.yml
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2022-02-24 09:54:30 +0000
committerAdheli Tavares <adheli.tavares@est.tech>2022-02-24 17:02:59 +0000
commitfce51e880cf80bea2c238e42c5b8d9608bdde859 (patch)
treece2b8bcee88bca9bd18ad101e83eac8c18e99fb2 /csit/metrics/prometheus.yml
parentee63df590a12202f429c9c382bc2f7eeca34b706 (diff)
Provisioning of prometheus datasource and dashboards
- dashboard with details for micrometer(jvm, hikari, http requests) stats. - dashboard with details for JVM consumption on basic levels. Issue-ID: POLICY-3892 Change-Id: Ibe9c220c35755b9c60f2ef5d6c4b56849a9ba59a Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
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: