summaryrefslogtreecommitdiffstats
path: root/docker/storperf-master/storperf/db
diff options
context:
space:
mode:
authormbeierl <mark.beierl@dell.com>2017-10-17 22:41:55 -0400
committerMark Beierl <mark.beierl@dell.com>2017-10-18 03:01:29 +0000
commit7cafd2b79cf1d83c9bddb6b7c686b693ad84a5e4 (patch)
tree19b211263b8f03777eedd6675b7c0289bc9767a1 /docker/storperf-master/storperf/db
parentc7c303ecc18fd1d7b92b60db5eaca42f67e6204c (diff)
Improving Reporting
Changes IOPS and BW to summation vs. average. Adds fixed 0 y axis to all graphs Change-Id: I3379597bda04b030424a25c7309a02c982fdb706 Signed-off-by: mbeierl <mark.beierl@dell.com> (cherry picked from commit 31b0e130755cbd425b26f740e5701768d77f98f0)
Diffstat (limited to 'docker/storperf-master/storperf/db')
-rw-r--r--docker/storperf-master/storperf/db/graphite_db.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/docker/storperf-master/storperf/db/graphite_db.py b/docker/storperf-master/storperf/db/graphite_db.py
index aa71855..8ebd22e 100644
--- a/docker/storperf-master/storperf/db/graphite_db.py
+++ b/docker/storperf-master/storperf/db/graphite_db.py
@@ -33,19 +33,20 @@ class GraphiteDB(object):
return result
- def fetch_series(self, workload, metric, io_type, time, duration):
+ def fetch_series(self, function, workload, metric,
+ io_type, time, duration):
series = []
end = time
start = end - duration
request = ("http://%s:%s/graphite/render/?target="
- "averageSeries(%s.*.jobs.1.%s.%s)"
+ "%s(%s.*.jobs.1.%s.%s)"
"&format=json"
"&from=%s"
"&until=%s"
% (self.graphite_host, self.graphite_port,
- workload, io_type, metric,
+ function, workload, io_type, metric,
start, end))
self.logger.debug("Calling %s" % (request))