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

Function init

collector/filefd_linux.go:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func init() {
38 registerCollector(fileFDStatSubsystem, defaultEnabled, NewFileFDStatCollector)
39}
40
41// NewFileFDStatCollector returns a new Collector exposing file-nr stats.
42func NewFileFDStatCollector(logger *slog.Logger) (Collector, error) {

Callers

nothing calls this directly

Calls 1

registerCollectorFunction · 0.85

Tested by

no test coverage detected