summaryrefslogtreecommitdiffstats
path: root/monitor/config
diff options
context:
space:
mode:
authorRutuja Surve <rutuja.r.surve@gmail.com>2017-11-14 04:36:23 +0000
committerRutuja Surve <rutuja.r.surve@gmail.com>2017-11-14 04:43:55 +0000
commit1baf04d3b5f2348977dc3481fd2dd5fac181d84c (patch)
tree949adb56ffaf0cfe732baac1c0e6e24b8978efb0 /monitor/config
parent2b84ec5fef4272cf7df6f9c0ae5fb2c239a5b7cc (diff)
Cadvisor Client-Server installation automation script
JIRA: BOTTLENECK-181 Automated the installation for cadvisor client from jump server host and added docker installation of cadvisor in monitoring script. Change-Id: I906b5237bc0ed320106309c1a29e8dd72a05a427 Signed-off-by: Rutuja Surve <rutuja.r.surve@gmail.com>
Diffstat (limited to 'monitor/config')
-rw-r--r--monitor/config/prometheus.yaml14
1 files changed, 11 insertions, 3 deletions
diff --git a/monitor/config/prometheus.yaml b/monitor/config/prometheus.yaml
index 35bf0401..3736d8e4 100644
--- a/monitor/config/prometheus.yaml
+++ b/monitor/config/prometheus.yaml
@@ -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']