Skip to content

Commit

Permalink
Merge pull request #2638 from seankhliao/higher-end-buckets
Browse files Browse the repository at this point in the history
✨ Add 100/1000s buckets for prometheus workqueue histograms
  • Loading branch information
k8s-ci-robot committed Jan 11, 2024
2 parents 8f8247f + f4fe233 commit 0a90173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/metrics/workqueue.go
Expand Up @@ -54,14 +54,14 @@ var (
Subsystem: WorkQueueSubsystem,
Name: QueueLatencyKey,
Help: "How long in seconds an item stays in workqueue before being requested",
Buckets: prometheus.ExponentialBuckets(10e-9, 10, 10),
Buckets: prometheus.ExponentialBuckets(10e-9, 10, 12),
}, []string{"name"})

workDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{
Subsystem: WorkQueueSubsystem,
Name: WorkDurationKey,
Help: "How long in seconds processing an item from workqueue takes.",
Buckets: prometheus.ExponentialBuckets(10e-9, 10, 10),
Buckets: prometheus.ExponentialBuckets(10e-9, 10, 12),
}, []string{"name"})

unfinished = prometheus.NewGaugeVec(prometheus.GaugeOpts{
Expand Down

0 comments on commit 0a90173

Please sign in to comment.