MCPcopy
hub / github.com/prometheus/node_exporter / entry

Method entry

collector/ethtool_linux.go:516–520  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

514}
515
516func (c *ethtoolCollector) entry(key string) *prometheus.Desc {
517 c.entriesMutex.Lock()
518 defer c.entriesMutex.Unlock()
519 return c.entries[key]
520}

Callers 4

updatePortInfoMethod · 0.95
updateSpeedsMethod · 0.95
UpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected