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

Function init

prometheus/registry.go:60–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58)
59
60func init() {
61 MustRegister(NewProcessCollector(ProcessCollectorOpts{}))
62 MustRegister(NewGoCollector())
63}
64
65// NewRegistry creates a new vanilla Registry without any Collectors
66// pre-registered.

Callers

nothing calls this directly

Calls 3

MustRegisterFunction · 0.85
NewProcessCollectorFunction · 0.70
NewGoCollectorFunction · 0.70

Tested by

no test coverage detected