Configure buckets for the expiration-mailer processing_latency metric (#5797)
This commit is contained in:
parent
b7989d0b5d
commit
a30065edeb
|
|
@ -447,7 +447,7 @@ func initStats(stats prometheus.Registerer) mailerStats {
|
|||
sendLatency := prometheus.NewHistogram(
|
||||
prometheus.HistogramOpts{
|
||||
Name: "send_latency",
|
||||
Help: "Time the mailer takes sending messages",
|
||||
Help: "Time the mailer takes sending messages in seconds",
|
||||
Buckets: metrics.InternetFacingBuckets,
|
||||
})
|
||||
stats.MustRegister(sendLatency)
|
||||
|
|
@ -455,7 +455,8 @@ func initStats(stats prometheus.Registerer) mailerStats {
|
|||
processingLatency := prometheus.NewHistogram(
|
||||
prometheus.HistogramOpts{
|
||||
Name: "processing_latency",
|
||||
Help: "Time the mailer takes processing certificates",
|
||||
Help: "Time the mailer takes processing certificates in seconds",
|
||||
Buckets: []float64{1, 15, 30, 60, 75, 90, 120},
|
||||
})
|
||||
stats.MustRegister(processingLatency)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue