Skip to content

Commit

Permalink
change the chunk size histogram to allow for bigger buckets (#1409)
Browse files Browse the repository at this point in the history
* change the chunk size histogram to allow for bigger buckets

Signed-off-by: Edward Welch <edward.welch@grafana.com>

* changing buckets again

Signed-off-by: Edward Welch <edward.welch@grafana.com>
  • Loading branch information
slim-bean authored Dec 12, 2019
1 parent 591905e commit f9b2596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ingester/flush.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var (
Namespace: "loki",
Name: "ingester_chunk_size_bytes",
Help: "Distribution of stored chunk sizes (when stored).",
Buckets: prometheus.ExponentialBuckets(10000, 2, 7), // biggest bucket is 10000*2^(7-1) = 640000 (~640KB)
Buckets: prometheus.ExponentialBuckets(20000, 2, 10), // biggest bucket is 20000*2^(10-1) = 10,240,000 (~10.2MB)
})
chunkCompressionRatio = promauto.NewHistogram(prometheus.HistogramOpts{
Namespace: "loki",
Expand Down

0 comments on commit f9b2596

Please sign in to comment.