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

Function init

collector/infiniband_linux.go:36–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func init() {
37 registerCollector("infiniband", defaultEnabled, NewInfiniBandCollector)
38}
39
40// NewInfiniBandCollector returns a new Collector exposing InfiniBand stats.
41func NewInfiniBandCollector(logger *slog.Logger) (Collector, error) {

Callers

nothing calls this directly

Calls 1

registerCollectorFunction · 0.85

Tested by

no test coverage detected