registry is the private implementation of the Collector interface. It stores feature information organized by category.
| 58 | // registry is the private implementation of the Collector interface. |
| 59 | // It stores feature information organized by category. |
| 60 | type 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. |
| 66 | var DefaultRegistry = NewRegistry() |
nothing calls this directly
no outgoing calls
no test coverage detected