Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepflowio/deepflow
/ Coverage
Method
Coverage
server/controller/prometheus/cache/target.go:87–91 ·
view source on GitHub ↗
(data map[TargetKey]int)
Source
from the content-addressed store, hash-verified
85
}
86
87
func
(k *keyToTargetID) Coverage(data
map
[TargetKey]int) {
88
k.lock.Lock()
89
defer
k.lock.Unlock()
90
k.data = data
91
}
92
93
type
targetIDToLabelNames
struct
{
94
lock sync.Mutex
Callers
1
refresh
Method · 0.45
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
no test coverage detected