Ignore histograms with negative sums.
This commit is contained in:
Родитель
52026a8a72
Коммит
f9cded82d4
|
@ -87,7 +87,7 @@ def _extract_histogram(state, histogram, histogram_name, label, is_child):
|
|||
return
|
||||
|
||||
sum = histogram.get("sum", None)
|
||||
if not isinstance(sum, (int, long)):
|
||||
if not isinstance(sum, (int, long)) or sum < 0:
|
||||
return
|
||||
|
||||
histogram_type = histogram.get("histogram_type", None)
|
||||
|
|
2
setup.py
2
setup.py
|
@ -12,7 +12,7 @@ import setuptools.command.install
|
|||
|
||||
|
||||
setup(name='python_mozaggregator',
|
||||
version='0.2.1.6',
|
||||
version='0.2.1.7',
|
||||
author='Roberto Agostino Vitillo',
|
||||
author_email='rvitillo@mozilla.com',
|
||||
description='Telemetry aggregation job',
|
||||
|
|
Загрузка…
Ссылка в новой задаче