From fcc0d3cb73add2e48f2919db6b51d47c2983bb0c Mon Sep 17 00:00:00 2001 From: Parth Yadav Date: Wed, 15 Jan 2020 12:51:25 +0530 Subject: 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 Change-Id: I7c39d4e1a7a46d3a499a241e618bd0da7eed53a8 --- conf/05_collector.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'conf/05_collector.conf') 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 = [] + -- cgit 1.2.3-korg