SERVER-138332Needs Scheduling

Build the MetricsRegistry for materialization, validation, and unmaterialize()

h2. Overview Build the process-wide MetricsRegistry for the unified metrics framework (epic SPM-4962), plus the registration codegen that feeds it. This ticket absorbs SERVER-138333 (registration codegen): the registration spec, the macro, and the generated initializers are one contract with the registry that consumes them. h2. Scope of Work * One registry per process, created explicitly via {{materialize(ServiceContext*)}} and accessed via {{MetricsRegistry::get()}}. * Members: {{_sections}}

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.