From 23bf1e54c7b23783ca73dea0151e45bb38ab95cd Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sun, 5 Jun 2022 02:43:08 +0200 Subject: [PATCH] Add target for nextcloud prometheus exporter --- .../prometheus/src/etc/prometheus/prometheus.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/monitoring/prometheus/src/etc/prometheus/prometheus.yml b/monitoring/prometheus/src/etc/prometheus/prometheus.yml index b5383bd..15a9d5b 100644 --- a/monitoring/prometheus/src/etc/prometheus/prometheus.yml +++ b/monitoring/prometheus/src/etc/prometheus/prometheus.yml @@ -20,7 +20,15 @@ global: # Here it's Prometheus itself. scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. - - job_name: "cloud_pub_solar_metrics" + - job_name: "cloud_pub_solar_nextcloud" + + # metrics_path defaults to '/metrics' + # scheme defaults to 'http'. + + static_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" # metrics_path defaults to '/metrics' # scheme defaults to 'http'.