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}}