SERVER-135015ClosedFixed

Link up WT metric registry and ensure that the otel metric exceptions are correctly handled

Warning: An uncaught exception on a {{PeriodicRunner}} thread is real bad. Things that can throw: * {{Counter::add()}} on a negative (guarded by the clamp) * malformed WT stat name * metric creation with a mismatched definition. Wrap the cycle and count failures in try catch, theres a metric for this {{{}recordWTCollectError{}}}.

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-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.