Add 'asta_confirmed_total' metric

pull/1/head
Luca 2 years ago
parent 0558cad9fe
commit a43fc266af

@ -16,6 +16,10 @@ def metrics(request):
( (
f"shiftregister_{name} {value}" f"shiftregister_{name} {value}"
for name, value in ( for name, value in (
(
"asta_confirmed_total",
Helper.objects.filter(asta_confirmed=True).count(),
),
( (
"fallback_shifts", "fallback_shifts",
Event.objects.filter( Event.objects.filter(

Loading…
Cancel
Save