2
0
Fork 0

Reorder metrics

This commit is contained in:
Luca 2023-05-08 00:11:58 +02:00
parent ae82b26644
commit 28c23f5782
1 changed files with 4 additions and 4 deletions

View File

@ -33,16 +33,16 @@ def metrics(request):
.filter(number_validated=True, shift_count__gte=1)
.count(),
),
(
"messages_sent_total",
Message.objects.all().count(),
),
(
"worked_shifts_total",
ShiftRegistration.objects.filter(
state=ShiftRegistration.RegState.CHECKED_IN
).count(),
),
(
"messages_sent_total",
Message.objects.all().count(),
),
(
"worked_seconds_total",
ShiftRegistration.objects.filter(