summaryrefslogtreecommitdiffstats
path: root/qtip/collector
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/collector')
-rw-r--r--qtip/collector/__init__.py0
-rw-r--r--qtip/collector/base.py12
-rw-r--r--qtip/collector/logfile.py14
3 files changed, 26 insertions, 0 deletions
diff --git a/qtip/collector/__init__.py b/qtip/collector/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/qtip/collector/__init__.py
diff --git a/qtip/collector/base.py b/qtip/collector/base.py
new file mode 100644
index 00000000..cd8fc797
--- /dev/null
+++ b/qtip/collector/base.py
@@ -0,0 +1,12 @@
+##############################################################################
+# Copyright (c) 2016 ZTE Corp and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
+class BaseCollector(object):
+ """performance metrics collector"""
diff --git a/qtip/collector/logfile.py b/qtip/collector/logfile.py
new file mode 100644
index 00000000..6528ea9f
--- /dev/null
+++ b/qtip/collector/logfile.py
@@ -0,0 +1,14 @@
+##############################################################################
+# Copyright (c) 2016 ZTE Corp and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+from base import BaseCollector
+
+
+class LogfileCollector(BaseCollector):
+ """collect performance metrics from log files"""