We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda3d9c commit 6df8449Copy full SHA for 6df8449
internal/component/common/loki/client/batch.go
@@ -132,8 +132,7 @@ func (b *batch) countForSegment(segmentNum int) {
132
b.segmentCounter[segmentNum] = 1
133
}
134
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
+// reportAsSentData reports sent data counts per segment and observes per-entry propagation latency.
137
func (b *batch) reportAsSentData(h SentDataMarkerHandler, obs prometheus.Observer) {
138
for seg, data := range b.segmentCounter {
139
h.UpdateSentData(seg, data)
0 commit comments