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

Function init

collector/cpu_aix.go:66–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66func init() {
67 registerCollector("cpu", defaultEnabled, NewCpuCollector)
68}
69
70func tickPerSecond() (float64, error) {
71 ticks, err := C.sysconf(C._SC_CLK_TCK)

Callers

nothing calls this directly

Calls 1

registerCollectorFunction · 0.85

Tested by

no test coverage detected