metrics: Make labels more speakable
This commit is contained in:
parent
2886d887f5
commit
22ac146110
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from inventory.models import Item
|
||||||
class ItemCountCollector(object):
|
class ItemCountCollector(object):
|
||||||
|
|
||||||
def collect(self):
|
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
|
yield counter
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue