diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-10 20:26:56 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-12-10 20:26:56 +0000 |
commit | 72ce5548dd9df18d26102e261d3cefd15c56d7e8 (patch) | |
tree | 359ba5adaed6940f1ccfb3ae3feda1b01162e178 /guix-build-coordinator/coordinator.scm | |
parent | 4ccfa09c7f59ea6a8ffc6aa9d2bc1c4bcf1046bd (diff) | |
download | build-coordinator-72ce5548dd9df18d26102e261d3cefd15c56d7e8.tar build-coordinator-72ce5548dd9df18d26102e261d3cefd15c56d7e8.tar.gz |
Use different buckets for the allocator duration metric
As the allocator currently can take much longer than 10 seconds.
Diffstat (limited to 'guix-build-coordinator/coordinator.scm')
-rw-r--r-- | guix-build-coordinator/coordinator.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/guix-build-coordinator/coordinator.scm b/guix-build-coordinator/coordinator.scm index 50db2e2..3e35b9f 100644 --- a/guix-build-coordinator/coordinator.scm +++ b/guix-build-coordinator/coordinator.scm @@ -420,7 +420,10 @@ (make-exception-with-message "timeout allocating builds")) (allocate-builds build-coordinator)) (metric-increment success-counter-metric)))) - #:unwind? #t)))))) + #:unwind? #t)) + #:buckets ((@@ (prometheus) exponential-histogram-buckets) ; TODO + #:start 1 + #:end (* 30 60))))))) (parameterize (((@@ (fibers internal) current-fiber) #f)) (call-with-new-thread |