Skip to content

Commit 0497c6b

Browse files
fix: fix help message in metric (#16879)
1 parent fc153f4 commit 0497c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kafka/partition/reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func NewReaderMetrics(r prometheus.Registerer) *ReaderMetrics {
5858
return &ReaderMetrics{
5959
consumptionLag: promauto.With(r).NewGaugeVec(prometheus.GaugeOpts{
6060
Name: "loki_kafka_reader_consumption_lag_seconds",
61-
Help: "Delay between producing a record and receiving it.",
61+
Help: "The estimated consumption lag in seconds, measured as the difference between the current time and the timestamp of the record.",
6262
}, []string{"phase"}),
6363
fetchWaitDuration: promauto.With(r).NewHistogram(prometheus.HistogramOpts{
6464
Name: "loki_kafka_reader_fetch_wait_duration_seconds",

0 commit comments

Comments
 (0)