This commit is contained in:
@@ -5,6 +5,8 @@ from kafka.metrics.measurable_stat import AbstractMeasurableStat
|
||||
|
||||
class Total(AbstractMeasurableStat):
|
||||
"""An un-windowed cumulative total maintained over all time."""
|
||||
__slots__ = ('_total')
|
||||
|
||||
def __init__(self, value=0.0):
|
||||
self._total = value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user