MCPcopy
hub / github.com/prometheus/prometheus / MaxTime

Method MaxTime

tsdb/head.go:1837–1839  ·  view source on GitHub ↗

MaxTime returns the highest timestamp seen in data of the head.

()

Source from the content-addressed store, hash-verified

1835
1836// MaxTime returns the highest timestamp seen in data of the head.
1837func (h *Head) MaxTime() int64 {
1838 return h.maxTime.Load()
1839}
1840
1841// MinOOOTime returns the lowest time bound on visible data in the out of order
1842// head.

Callers 15

appenderV2Method · 0.95
updateMinMaxTimeMethod · 0.95
truncateMemoryMethod · 0.95
StatsMethod · 0.95
DeleteMethod · 0.95
MetaMethod · 0.95
compactableMethod · 0.95
appenderMethod · 0.95
FlushWALMethod · 0.95

Calls 1

LoadMethod · 0.65