From bdb10fce03c4ae72778162cf68b552028518f05f Mon Sep 17 00:00:00 2001 From: Laura Barcziova Date: Tue, 2 May 2023 14:15:31 +0200 Subject: [PATCH] Add more buckets for the first_initial_status_time histogram As we currently want to count the statuses set under 25 seconds. --- packit_service/worker/monitoring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packit_service/worker/monitoring.py b/packit_service/worker/monitoring.py index 7d49a583d..4287ff530 100644 --- a/packit_service/worker/monitoring.py +++ b/packit_service/worker/monitoring.py @@ -66,7 +66,7 @@ def __init__(self): "first_initial_status_time", "Time it takes to set the initial status for the first check in the first job", registry=self.registry, - buckets=(5, 15, 30, float("inf")), + buckets=(5, 15, 20, 25, 30, float("inf")), ) self.last_initial_status_time = Histogram(