Skip to content

Commit 3dac944

Browse files
authored
Merge pull request #124 from weaveworks/tweak-histogram-buckets
Tweak chunk stats buckets
2 parents def0d6b + 81e9a18 commit 3dac944

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ingester/ingester.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func New(cfg Config, chunkStore cortex.Store) (*Ingester, error) {
170170
chunkUtilization: prometheus.NewHistogram(prometheus.HistogramOpts{
171171
Name: "cortex_ingester_chunk_utilization",
172172
Help: "Distribution of stored chunk utilization (when stored).",
173-
Buckets: prometheus.LinearBuckets(0.1, 0.1, 9),
173+
Buckets: prometheus.LinearBuckets(0, 0.2, 6),
174174
}),
175175
chunkLength: prometheus.NewHistogram(prometheus.HistogramOpts{
176176
Name: "cortex_ingester_chunk_length",
@@ -180,7 +180,7 @@ func New(cfg Config, chunkStore cortex.Store) (*Ingester, error) {
180180
chunkAge: prometheus.NewHistogram(prometheus.HistogramOpts{
181181
Name: "cortex_ingester_chunk_age_seconds",
182182
Help: "Distribution of chunk ages (when stored).",
183-
Buckets: prometheus.ExponentialBuckets(0.1, 4, 8),
183+
Buckets: prometheus.ExponentialBuckets(60, 2, 9),
184184
}),
185185
memoryChunks: prometheus.NewGauge(prometheus.GaugeOpts{
186186
Name: "cortex_ingester_memory_chunks",

0 commit comments

Comments
 (0)