| Index: infra_libs/ts_mon/common/metrics.py
|
| diff --git a/infra_libs/ts_mon/common/metrics.py b/infra_libs/ts_mon/common/metrics.py
|
| index 28969e5f64c60a7a47a3fb69ae7f368621a29e39..4596f4c90885aa259ca405e8b60c7448017330ee 100644
|
| --- a/infra_libs/ts_mon/common/metrics.py
|
| +++ b/infra_libs/ts_mon/common/metrics.py
|
| @@ -185,6 +185,9 @@ class Metric(object):
|
| return interface.state.store.get(
|
| self.name, self._normalize_fields(fields), target_fields)
|
|
|
| + def get_all(self):
|
| + return interface.state.store.iter_field_values(self.name)
|
| +
|
| def reset(self):
|
| """Clears the values of this metric. Useful in unit tests.
|
|
|
|
|