Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepflowio/deepflow
/ GetLabelNamesByID
Method
GetLabelNamesByID
server/controller/prometheus/cache/target.go:165–167 ·
view source on GitHub ↗
(id int)
Source
from the content-addressed store, hash-verified
163
}
164
165
func
(t *target) GetLabelNamesByID(id int) []string {
166
return
t.targetIDToLabelNames.Load(id)
167
}
168
169
func
(t *target) Add(batch []*controller.PrometheusTarget) {
170
for
_, item :=
range
batch {
Callers
nothing calls this directly
Calls
1
Load
Method · 0.45
Tested by
no test coverage detected