MCPcopy
hub / github.com/grafana/tempo / MinMaxTimestamps

Method MinMaxTimestamps

modules/blockbuilder/live_traces_iter.go:169–174  ·  view source on GitHub ↗

MinMaxTimestamps returns the earliest start, and latest end span timestamps, which can't be known until all contents are unmarshaled. The iterator must be exhausted before this can be accessed.

()

Source from the content-addressed store, hash-verified

167// which can't be known until all contents are unmarshaled. The iterator must
168// be exhausted before this can be accessed.
169func (i *liveTracesIter) MinMaxTimestamps() (uint64, uint64) {
170 i.mtx.Lock()
171 defer i.mtx.Unlock()
172
173 return i.start, i.end
174}
175
176// DedupedSpans returns the total number of duplicate spans that were removed
177// across all traces. Returns an error if the iterator has not been fully exhausted.

Callers 1

FlushMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected