Add 'asta_confirmed_total' metric
This commit is contained in:
parent
0558cad9fe
commit
a43fc266af
|
@ -16,6 +16,10 @@ def metrics(request):
|
|||
(
|
||||
f"shiftregister_{name} {value}"
|
||||
for name, value in (
|
||||
(
|
||||
"asta_confirmed_total",
|
||||
Helper.objects.filter(asta_confirmed=True).count(),
|
||||
),
|
||||
(
|
||||
"fallback_shifts",
|
||||
Event.objects.filter(
|
||||
|
|
Loading…
Reference in New Issue