There seems to be an update in the json format used.
The data is present at ['details']['metrics'] rather
than ['metrics']
JIRA: STORPERF-229
Change-Id: I7c3ee319ef4a128c33f5e2a26e10b6ff03a471d3
Signed-off-by: Shrenik <shrenik.jain@research.iiit.ac.in>
(cherry picked from commit
f5759099c69e1885ea72ff1e75794101b179eeac)
workload_params = self.job_db.fetch_workload_params(job_id)
if 'report' in workload_params:
report = workload_params['report']
- return report['metrics']
+ return report['details']['metrics']
return {}
def fetch_metadata(self, job_id):