Skip to content

Commit

Permalink
Add more buckets for the first_initial_status_time histogram (packit#…
Browse files Browse the repository at this point in the history
…2029)

Add more buckets for the first_initial_status_time histogram

As we currently want to count the statuses set under 25 seconds.

RELEASE NOTES BEGIN
N/A
RELEASE NOTES END

Reviewed-by: Jiri Popelka
  • Loading branch information
softwarefactory-project-zuul[bot] authored May 10, 2023
2 parents 43ef43e + bdb10fc commit 9abde59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packit_service/worker/monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9abde59

Please sign in to comment.