Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/node_exporter
/ sysFilePath
Function
sysFilePath
collector/paths.go:36–38 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
34
}
35
36
func
sysFilePath(name string) string {
37
return
filepath.Join(*sysPath, name)
38
}
39
40
func
rootfsFilePath(name string) string {
41
return
filepath.Join(*rootfsPath, name)
Callers
9
getMemInfoNuma
Function · 0.85
Update
Method · 0.85
Update
Method · 0.85
updateThermalThrottle
Method · 0.85
Update
Method · 0.85
Update
Method · 0.85
Update
Method · 0.85
TestDefaultSysPath
Function · 0.85
TestCustomSysPath
Function · 0.85
Calls
no outgoing calls
Tested by
2
TestDefaultSysPath
Function · 0.68
TestCustomSysPath
Function · 0.68