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 --- tools/collectors/cadvisor/__init__.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tools/collectors/cadvisor/__init__.py (limited to 'tools/collectors/cadvisor/__init__.py') diff --git a/tools/collectors/cadvisor/__init__.py b/tools/collectors/cadvisor/__init__.py new file mode 100755 index 00000000..235ab875 --- /dev/null +++ b/tools/collectors/cadvisor/__init__.py @@ -0,0 +1,17 @@ +# Copyright 2020 University Of Delhi. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +""" +Wrapper for cAdvisor as a collector +""" -- cgit 1.2.3-korg