Copy Prometheus config for rpi rack to internal rack
Change-Id: I7db98d9f76998495c8e65102a34d8bee17a100f1
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/240685
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Ben Wagner aka dogben <benjaminwagner@google.com>
diff --git a/prometheus/sys/jumphost-internal-01/prometheus.yml b/prometheus/sys/jumphost-internal-01/prometheus.yml
index 6fca658..8e3d1d7 100644
--- a/prometheus/sys/jumphost-internal-01/prometheus.yml
+++ b/prometheus/sys/jumphost-internal-01/prometheus.yml
@@ -1,14 +1,32 @@
scrape_configs:
+# pulld for every server.
- job_name: 'pulld-not-gce'
static_configs:
- targets: ['localhost:20000']
+ - targets: ['192.168.1.98:20000']
+ labels:
+ instance_name: spare
+ - targets: ['192.168.1.99:20000']
+ labels:
+ instance_name: master
- job_name: 'file-backup'
static_configs:
+ - targets: ['192.168.1.99:20001']
+ labels:
+ backup: rpi_image
- targets: ['localhost:20002']
labels:
backup: router_config
+ - job_name: 'hotspare'
+ static_configs:
+ - targets: ['192.168.1.98:20003']
+
+ - job_name: 'powercycle-daemon'
+ static_configs:
+ - targets: ['localhost:20004']
+
# Prometheus self monitoring.
- job_name: 'prometheus'
static_configs: