Merge branch 'increase-ci-queue-histogram-buckets' into 'master'
Add 60s and 5m values to the buckets used by prometheus to measure time Closes #62113 See merge request gitlab-org/gitlab-ce!28557
This commit is contained in:
commit
20375f811a
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ module Ci
|
||||||
class RegisterJobService
|
class RegisterJobService
|
||||||
attr_reader :runner
|
attr_reader :runner
|
||||||
|
|
||||||
JOB_QUEUE_DURATION_SECONDS_BUCKETS = [1, 3, 10, 30].freeze
|
JOB_QUEUE_DURATION_SECONDS_BUCKETS = [1, 3, 10, 30, 60, 300].freeze
|
||||||
JOBS_RUNNING_FOR_PROJECT_MAX_BUCKET = 5.freeze
|
JOBS_RUNNING_FOR_PROJECT_MAX_BUCKET = 5.freeze
|
||||||
|
|
||||||
Result = Struct.new(:build, :valid?)
|
Result = Struct.new(:build, :valid?)
|
||||||
|
|
Loading…
Reference in a new issue