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.
()
| 167 | // which can't be known until all contents are unmarshaled. The iterator must |
| 168 | // be exhausted before this can be accessed. |
| 169 | func (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. |