SERVER-138333ClosedDuplicate

Registration codegen: per-file MONGO_INITIALIZER metrics registration

h2. Overview Build the registration codegen for the unified metrics framework (epic SPM-4962). Design revised 2026-11-11: registration is a per-file MONGO_INITIALIZER with no aggregate anchor. h2. Scope of Work * Emit one MONGO_INITIALIZER per *_metrics.idl file into the generated _gen.cpp, named RegisterMetrics_<file_path_underscores>, whose body calls addMetricsRegistration(MetricsRegistrationSpec{parent, name, resolve, leaves, appender, otel}) directly. No wrapper registration function, no

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.