SERVER-136333ClosedFixed

Construct change-stream metric options during registration

Windows cross-built unit tests failed with `ObjectAlreadyExists` while registering change-stream metrics. Statically linked tests include mongod and mongos registration sites reading shared `inline` options. The cross compiler emitted constructors in an order that allowed registration to read those options before initialization, omitting serverStatus paths and creating conflicting metric definitions. The C++ definitions should satisfy partially ordered initialization. [LLVM #229174](https://g

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1024
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.