Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/node_exporter
/ procFilePath
Function
procFilePath
collector/paths.go:32–34 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
30
)
31
32
func
procFilePath(name string) string {
33
return
filepath.Join(*procPath, name)
34
}
35
36
func
sysFilePath(name string) string {
37
return
filepath.Join(*sysPath, name)
Callers
15
Update
Method · 0.85
Update
Method · 0.85
Update
Method · 0.85
Update
Method · 0.85
Update
Method · 0.85
getInterrupts
Function · 0.85
TestReadProcessStatus
Function · 0.85
openProcFile
Method · 0.85
updatePoolStats
Method · 0.85
getLoad
Function · 0.85
parseLoad
Function · 0.85
Update
Method · 0.85
Calls
no outgoing calls
Tested by
3
TestReadProcessStatus
Function · 0.68
TestDefaultProcPath
Function · 0.68
TestCustomProcPath
Function · 0.68