diff options
author | mbeierl <mark.beierl@dell.com> | 2017-10-17 22:41:55 -0400 |
---|---|---|
committer | mbeierl <mark.beierl@dell.com> | 2017-10-17 22:55:10 -0400 |
commit | 31b0e130755cbd425b26f740e5701768d77f98f0 (patch) | |
tree | 03378d591eca659e037e7cad0b6f055d8a365378 /docker/storperf-master/storperf/db/graphite_db.py | |
parent | 477957139b2b782b899c9cb5603389ff0802b741 (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>
Diffstat (limited to 'docker/storperf-master/storperf/db/graphite_db.py')
-rw-r--r-- | docker/storperf-master/storperf/db/graphite_db.py | 7 |
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)) |