MCPcopy
hub / github.com/prometheus/prometheus / SetStartTime

Method SetStartTime

tsdb/wlog/watcher.go:708–711  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

706}
707
708func (w *Watcher) SetStartTime(t time.Time) {
709 w.startTime = t
710 w.startTimestamp = timestamp.FromTime(t)
711}
712
713type segmentReadFn func(w *Watcher, r *LiveReader, segmentNum int, tail bool) error
714

Callers 2

TestWatcher_TailFunction · 0.95
loopMethod · 0.95

Calls 1

FromTimeFunction · 0.92

Tested by 1

TestWatcher_TailFunction · 0.76