fix workload logging
accidentally show total metrics in last sack as total metrics processed. Change-Id: I5c95857ab35ee0d2ba0932be9634853075851bb1
This commit is contained in:
parent
f8b18df786
commit
60f7e33bd9
|
@ -162,7 +162,7 @@ class MetricProcessor(MetricProcessBase):
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
metrics = in_store.list_metric_with_measures_to_process(s)
|
metrics = in_store.list_metric_with_measures_to_process(s)
|
||||||
m_count = len(metrics)
|
m_count += len(metrics)
|
||||||
self.store.process_background_tasks(self.index, metrics)
|
self.store.process_background_tasks(self.index, metrics)
|
||||||
s_count += 1
|
s_count += 1
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
Loading…
Reference in New Issue