Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
40
func
(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
Read
Method · 0.45
Tested by
no test coverage detected