From f477f7fd31969e4b74844bc9a38b80fee9a0c8c1 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sun, 3 Jul 2022 16:59:04 +0200 Subject: [PATCH] Increase prometheus's scrape_interval to 60m This is sufficient to track the status of backups, that only run daily --- monitoring/prometheus/src/etc/prometheus/prometheus.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monitoring/prometheus/src/etc/prometheus/prometheus.yml b/monitoring/prometheus/src/etc/prometheus/prometheus.yml index 15a9d5b..b960f93 100644 --- a/monitoring/prometheus/src/etc/prometheus/prometheus.yml +++ b/monitoring/prometheus/src/etc/prometheus/prometheus.yml @@ -29,6 +29,8 @@ scrape_configs: - targets: ["pub-solar-nextcloud-prometheus-exporter.inst.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.int.greenbaum.zone:9205"] - job_name: "cloud_pub_solar_nextcloud_backup" + # Backups run daily, so scraping this endpoint more often doesn't have any benefit + scrape_interval: 60m # Set the scrape interval to every 60 minutes. Default is every 1 minute. # metrics_path defaults to '/metrics' # scheme defaults to 'http'.