Skip to content

Commit

Permalink
Adjust store gate bucket
Browse files Browse the repository at this point in the history
Signed-off-by: Kemal Akkoyun <[email protected]>
  • Loading branch information
kakkoyun committed Nov 13, 2019
1 parent 1855ace commit 3aac86e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/compact/compact.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func newSyncerMetrics(reg prometheus.Registerer) *syncerMetrics {
m.garbageCollectionDuration = prometheus.NewHistogram(prometheus.HistogramOpts{
Name: "thanos_compact_garbage_collection_duration_seconds",
Help: "Time it took to perform garbage collection iteration.",
Buckets: prometheus.ExponentialBuckets(0.05, 2.5, 12),
Buckets: prometheus.ExponentialBuckets(0.001, 2, 15),
})

m.compactions = prometheus.NewCounterVec(prometheus.CounterOpts{
Expand Down
2 changes: 1 addition & 1 deletion pkg/store/gate.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func NewGate(maxConcurrent int, reg prometheus.Registerer) *Gate {
gateTiming: prometheus.NewHistogram(prometheus.HistogramOpts{
Name: "gate_duration_seconds",
Help: "How many seconds it took for queries to wait at the gate.",
Buckets: prometheus.ExponentialBuckets(0.001, 2, 15),
Buckets: prometheus.ExponentialBuckets(0.1, 2, 15),
}),
}

Expand Down

0 comments on commit 3aac86e

Please sign in to comment.