2
0
Fork 0

Add 'asta_confirmed_total' metric

This commit is contained in:
Luca 2023-05-16 15:12:19 +02:00
parent 0558cad9fe
commit a43fc266af
1 changed files with 4 additions and 0 deletions

View File

@ -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(