MCPcopy Create free account
hub / github.com/cortexproject/cortex / scan

Method scan

pkg/util/resource/scanner.go:40–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40func (s *heapScanner) scan() (float64, error) {
41 metrics.Read(s.metricSamples)
42 return float64(s.metricSamples[0].Value.Uint64()), nil
43}

Callers

nothing calls this directly

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected