mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-12 01:30:18 +00:00
Merge branch 'pratik/otel-phase9-metric-gap-fill' into pratik/otel-phase10-workload-validation
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user