fix workload logging

accidentally show total metrics in last sack as total metrics
processed.

Change-Id: I5c95857ab35ee0d2ba0932be9634853075851bb1
This commit is contained in:
gord chung 2017-05-15 22:53:33 +00:00
parent f8b18df786
commit 60f7e33bd9
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class MetricProcessor(MetricProcessBase):
continue
try:
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)
s_count += 1
except Exception: