diff --git a/core/core/metrics.py b/core/core/metrics.py index 16a826d..083bda2 100644 --- a/core/core/metrics.py +++ b/core/core/metrics.py @@ -6,7 +6,7 @@ from inventory.models import Item class ItemCountCollector(object): def collect(self): - counter = CounterMetricFamily("item_count", "Current number of items", labels=['event', 'state']) + counter = CounterMetricFamily("item_count", "Current number of items", labels=['event', 'returned_state']) yield counter