@@ -57,14 +57,16 @@ var (
57
57
Subsystem : PriorityQueueSubsystem ,
58
58
Name : QueueLatencyKey ,
59
59
Help : "How long in seconds an item stays in priority queue before being requested" ,
60
- Buckets : prometheus .ExponentialBuckets (10e-9 , 10 , 10 ),
60
+ Buckets : []float64 {0.005 , 0.01 , 0.025 , 0.05 , 0.1 , 0.15 , 0.2 , 0.25 , 0.3 , 0.35 , 0.4 , 0.45 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1.0 ,
61
+ 1.25 , 1.5 , 1.75 , 2.0 , 2.5 , 3.0 , 3.5 , 4.0 , 4.5 , 5 , 6 , 7 , 8 , 9 , 10 , 15 , 20 , 25 , 30 , 40 , 50 , 60 },
61
62
}, []string {"name" , "priority" })
62
63
63
64
workDuration = prometheus .NewHistogramVec (prometheus.HistogramOpts {
64
65
Subsystem : PriorityQueueSubsystem ,
65
66
Name : WorkDurationKey ,
66
67
Help : "How long in seconds processing an item from priority queue takes." ,
67
- Buckets : prometheus .ExponentialBuckets (10e-9 , 10 , 10 ),
68
+ Buckets : []float64 {0.005 , 0.01 , 0.025 , 0.05 , 0.1 , 0.15 , 0.2 , 0.25 , 0.3 , 0.35 , 0.4 , 0.45 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1.0 ,
69
+ 1.25 , 1.5 , 1.75 , 2.0 , 2.5 , 3.0 , 3.5 , 4.0 , 4.5 , 5 , 6 , 7 , 8 , 9 , 10 , 15 , 20 , 25 , 30 , 40 , 50 , 60 },
68
70
}, []string {"name" , "priority" })
69
71
70
72
unfinished = prometheus .NewGaugeVec (prometheus.GaugeOpts {
0 commit comments