aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorParth Yadav <parth.yadav@ramanujan.du.ac.in>2020-01-15 12:51:25 +0530
committerParth Yadav <parth.yadav@ramanujan.du.ac.in>2020-02-19 16:06:36 +0530
commitfcc0d3cb73add2e48f2919db6b51d47c2983bb0c (patch)
tree4b49627f40f7e3218296034bea676bcea989507b /conf
parenta94395daf8d3312659b56a306ea64960a2cdd64a (diff)
Support: Container Metrics collection and Visualization
A. Collector: Add cAdvisor Collector This patch adds supports for Container Metrics collection using cAdvisor. The collector: 1. Pushes metrics to InfluxDB storage 2. Stores metrics locally in Result Dir 3. Implements print_results() for metric summary 4. Is configurable from 05_collector.conf B. Docker: Grafana Dashboard This patch also adds JSON file for Grafana Dashboard for Container Metrics Signed-off-by: Parth Yadav <parth.yadav@ramanujan.du.ac.in> Change-Id: I7c39d4e1a7a46d3a499a241e618bd0da7eed53a8
Diffstat (limited to 'conf')
-rw-r--r--conf/05_collector.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf/05_collector.conf b/conf/05_collector.conf
index b9974037..882ef414 100644
--- a/conf/05_collector.conf
+++ b/conf/05_collector.conf
@@ -66,3 +66,17 @@ MC_PROX_CMD = './runrapid.py'
MC_PROX_OUT = 'RUNirq.irq.log'
MC_CRON_OUT = '/tmp/ovs-cores.log'
MC_BEAT_CFILE = '/etc/filebeat/filebeat.yml'
+
+###############################################
+# Cadvisor Specific configuration
+###############################################
+
+LOG_FILE_CADVISOR = 'cadvisor'
+CADVISOR_STORAGE_DRIVER = 'stdout,influxdb'
+# ip:port of influxdb
+CADVISOR_STORAGE_HOST = '10.10.120.22:8086'
+CADVISOR_DRIVER_DB = '_internal'
+# names of all containers to calcualte results
+#CADVISOR_CONTAINERS = ['container1name','container2name']
+CADVISOR_CONTAINERS = []
+