aboutsummaryrefslogtreecommitdiffstats
path: root/tools/collectors/cadvisor/__init__.py
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 /tools/collectors/cadvisor/__init__.py
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 'tools/collectors/cadvisor/__init__.py')
-rwxr-xr-xtools/collectors/cadvisor/__init__.py17
1 files changed, 17 insertions, 0 deletions
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
+"""