analytics manager bug fix

This commit is contained in:
Job Evers-Meltzer 2016-10-01 11:19:45 -05:00
parent f9f07c47e2
commit 9da1b3c5b7

View file

@ -40,5 +40,5 @@ class Manager(object):
def _update_tracked_metrics(self): def _update_tracked_metrics(self):
value = self.track.summarize(constants.BLOB_BYTES_UPLOADED) value = self.track.summarize(constants.BLOB_BYTES_UPLOADED)
if value > 0: if value > 0:
event = self.events_generator.metric_observered(analytics.BLOB_BYTES_UPLOADED, value) event = self.events_generator.metric_observered(constants.BLOB_BYTES_UPLOADED, value)
self.analytics_api.track(event) self.analytics_api.track(event)