(traceID []byte, batch T, maxLiveTraces uint64)
| 80 | } |
| 81 | |
| 82 | func (l *LiveTraces[T]) Push(traceID []byte, batch T, maxLiveTraces uint64) bool { |
| 83 | return l.PushWithTimestampAndLimits(time.Now(), traceID, batch, maxLiveTraces, 0) == nil |
| 84 | } |
| 85 | |
| 86 | func (l *LiveTraces[T]) PushWithTimestampAndLimits(ts time.Time, traceID []byte, batch T, maxLiveTraces, maxTraceSize uint64) error { |
| 87 | token := l.token(traceID) |