Compare commits

..

1 commit

Author SHA1 Message Date
c3395093c7 metrics: Make metrics actually usable
Some checks failed
/ test (push) Has been cancelled
/ test (pull_request) Successful in 2m36s
2024-12-23 11:30:02 +01:00

View file

@ -2,6 +2,7 @@ from django.apps import apps
from prometheus_client.core import CounterMetricFamily, REGISTRY
from django.db.models import Case, Value, When, BooleanField, Count
from inventory.models import Item
import logging
class ItemCountCollector(object):