Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
708
func
(w *Watcher) SetStartTime(t time.Time) {
709
w.startTime = t
710
w.startTimestamp = timestamp.FromTime(t)
711
}
712
713
type
segmentReadFn
func
(w *Watcher, r *LiveReader, segmentNum int, tail bool) error
714
Callers
2
TestWatcher_Tail
Function · 0.95
loop
Method · 0.95
Calls
1
FromTime
Function · 0.92
Tested by
1
TestWatcher_Tail
Function · 0.76