Commit 17c858b3 authored by Georgios Dagkakis's avatar Georgios Dagkakis

Merge branch 'defaultInstanceWip'

parents 34f1cd04 dd780789
......@@ -6,6 +6,8 @@ class PostProcessQueueStatistics(plugin.OutputPreparationPlugin, TimeSupportMixi
"""
def postprocess(self, data):
self.initializeTimeSupport(data)
result = data['result']['result_list'][-1]
......@@ -26,6 +28,7 @@ class PostProcessQueueStatistics(plugin.OutputPreparationPlugin, TimeSupportMixi
if obj.get('family') == self.configuration_dict.get('family', 'Buffer'):
series.append({
"label": obj.get('name', obj['id']),
"data": [(self.convertToTimeStamp(time) * 1000, value) for (time, value) in obj['results']['wip_stat_list'][0]]
"data": [(self.convertToTimeStamp(time) * 1000, value) for (time, value) in obj['results']['wip_stat_list'][0]
if not time==float("inf")]
})
return data
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment