fix(metrics): larger range for worker_state_duration
This commit is contained in:
parent
8388d27aa4
commit
34a52653d7
@ -79,7 +79,7 @@ httpRequestLatency :: Vector Label3 Histogram
|
|||||||
httpRequestLatency = unsafeRegister . vector ("handler", "method", "status") $ histogram info buckets
|
httpRequestLatency = unsafeRegister . vector ("handler", "method", "status") $ histogram info buckets
|
||||||
where info = Info "http_request_duration_seconds"
|
where info = Info "http_request_duration_seconds"
|
||||||
"HTTP request latency"
|
"HTTP request latency"
|
||||||
buckets = histogramBuckets 50e-6 5000
|
buckets = histogramBuckets 50e-6 500
|
||||||
|
|
||||||
data ReadySince = MkReadySince
|
data ReadySince = MkReadySince
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ jobWorkerStateDuration :: Vector Label4 Histogram
|
|||||||
jobWorkerStateDuration = unsafeRegister . vector ("worker", "state", "jobctl", "task") $ histogram info buckets
|
jobWorkerStateDuration = unsafeRegister . vector ("worker", "state", "jobctl", "task") $ histogram info buckets
|
||||||
where info = Info "uni2work_job_worker_state_duration_seconds"
|
where info = Info "uni2work_job_worker_state_duration_seconds"
|
||||||
"Duration of time a Uni2work job executor spent in a certain state"
|
"Duration of time a Uni2work job executor spent in a certain state"
|
||||||
buckets = histogramBuckets 1e-6 500
|
buckets = histogramBuckets 1e-6 5000
|
||||||
|
|
||||||
{-# NOINLINE jobWorkerStateTransitions #-}
|
{-# NOINLINE jobWorkerStateTransitions #-}
|
||||||
jobWorkerStateTransitions :: Vector Label4 Counter
|
jobWorkerStateTransitions :: Vector Label4 Counter
|
||||||
|
|||||||
Reference in New Issue
Block a user