MCPcopy
hub / github.com/prometheus/prometheus / metaRange

Function metaRange

tsdb/compact_test.go:515–524  ·  view source on GitHub ↗
(name string, mint, maxt int64, stats *BlockStats)

Source from the content-addressed store, hash-verified

513}
514
515func metaRange(name string, mint, maxt int64, stats *BlockStats) dirMeta {
516 meta := &BlockMeta{MinTime: mint, MaxTime: maxt}
517 if stats != nil {
518 meta.Stats = *stats
519 }
520 return dirMeta{
521 dir: name,
522 meta: meta,
523 }
524}
525
526type erringBReader struct{}
527

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…