Merge branch 'pratik/otel-phase9-metric-gap-fill' into pratik/otel-phase10-workload-validation

This commit is contained in:
Pratik Mankawde
2026-07-06 13:20:30 +01:00

View File

@@ -640,9 +640,10 @@ struct Peer
*
* The test Peer adaptor uses a static disabled NullTelemetry instance
* so that all shouldTrace*() checks return false and no spans are
* created during simulation tests.
* created during simulation tests. It is static because the shared
* disabled instance does not depend on any per-peer state.
*/
telemetry::Telemetry&
static telemetry::Telemetry&
getTelemetry()
{
static auto tel = telemetry::makeTelemetry(