MCPcopy
hub / github.com/prometheus/prometheus / registry

Struct registry

util/features/features.go:60–63  ·  view source on GitHub ↗

registry is the private implementation of the Collector interface. It stores feature information organized by category.

Source from the content-addressed store, hash-verified

58// registry is the private implementation of the Collector interface.
59// It stores feature information organized by category.
60type registry struct {
61 mu sync.RWMutex
62 features map[string]map[string]bool
63}
64
65// DefaultRegistry is the package-level registry used by Prometheus.
66var DefaultRegistry = NewRegistry()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected