Skip to content

Commit 6df8449

Browse files
committed
Update comment
1 parent bda3d9c commit 6df8449

File tree

1 file changed

+1
-2
lines changed
  • internal/component/common/loki/client

1 file changed

+1
-2
lines changed

internal/component/common/loki/client/batch.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ func (b *batch) countForSegment(segmentNum int) {
132132
b.segmentCounter[segmentNum] = 1
133133
}
134134

135-
// reportAsSentData will report for all segments whose data is part of this batch, the amount of that data as sent to
136-
// the provided SentDataMarkerHandler
135+
// reportAsSentData reports sent data counts per segment and observes per-entry propagation latency.
137136
func (b *batch) reportAsSentData(h SentDataMarkerHandler, obs prometheus.Observer) {
138137
for seg, data := range b.segmentCounter {
139138
h.UpdateSentData(seg, data)

0 commit comments

Comments
 (0)