From 0e9a71798c9cfdd11508c5b449516cedf0138f57 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Mon, 15 Jun 2026 19:44:55 +0100 Subject: [PATCH] make samping ratio static constexpr Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> --- include/xrpl/telemetry/Telemetry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;