Cadvisor Client-Server installation automation script
[bottlenecks.git] / monitor / config / prometheus.yaml
index 35bf040..3736d8e 100644 (file)
@@ -25,7 +25,15 @@ scrape_configs:
     scrape_interval: 5s
 
     static_configs:
-      - targets: ['192.168.104.2:9090']
+      - targets: ['192.168.121.2:9090']
+
+  - job_name: 'cadvisor'
+
+    # Override the global default and scrape targets from this job every 5 seconds.
+    scrape_interval: 5s
+
+    static_configs:
+      - targets: ['192.168.121.2:8080','10.1.0.50:8080','10.1.0.51:8080']
 
   - job_name: 'collectd'
 
@@ -33,7 +41,7 @@ scrape_configs:
     scrape_interval: 5s
 
     static_configs:
-      - targets: ['192.168.104.2:9103']
+      - targets: ['192.168.121.2:9103']
 
   - job_name: 'node'
 
@@ -41,4 +49,4 @@ scrape_configs:
     scrape_interval: 5s
 
     static_configs:
-      - targets: ['192.168.104.2:9100']
\ No newline at end of file
+      - targets: ['192.168.121.2:9100']