Skip to content

Commit

Permalink
Update help & bucket sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
benclive committed Dec 20, 2024
1 parent 9af6d02 commit f72afaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/distributor/distributor.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ func New(
kafkaBytesPerRecord: promauto.With(registerer).NewHistogram(prometheus.HistogramOpts{
Namespace: constants.Loki,
Name: "distributor_kafka_bytes_per_record",
Help: "The number of records a single per-partition write request has been split into.",
Buckets: prometheus.ExponentialBuckets(1, 2, 8),
Help: "The number of bytes per kafka record generated.",
Buckets: prometheus.ExponentialBuckets(64, 4, 10), // 64b - 64kb
}),
writeFailuresManager: writefailures.NewManager(logger, registerer, cfg.WriteFailuresLogging, configs, "distributor"),
kafkaWriter: kafkaWriter,
Expand Down

0 comments on commit f72afaf

Please sign in to comment.