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

Function init

collector/interrupts_common.go:32–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func init() {
33 registerCollector("interrupts", defaultDisabled, NewInterruptsCollector)
34}
35
36var (
37 interruptsInclude = kingpin.Flag("collector.interrupts.name-include", "Regexp of interrupts name to include (mutually exclusive to --collector.interrupts.name-exclude).").String()

Callers

nothing calls this directly

Calls 1

registerCollectorFunction · 0.85

Tested by

no test coverage detected