diff --git a/include/xrpl/telemetry/Telemetry.h b/include/xrpl/telemetry/Telemetry.h index 0da37dbfe1..e8e4b74772 100644 --- a/include/xrpl/telemetry/Telemetry.h +++ b/include/xrpl/telemetry/Telemetry.h @@ -166,7 +166,7 @@ public: delegated to the collector's tail sampling; for node-local post-hoc dropping see SpanGuard::discard(). */ - double const samplingRatio = 1.0; + static constexpr double samplingRatio = 1.0; /** Maximum number of spans per batch export. */ std::uint32_t batchSize = 512;