From 8b790ebac9989287fcf6bdab635f0d4708991a1c Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Thu, 28 May 2026 12:18:20 +0100 Subject: [PATCH] bumped otel version to 1.26.0 Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> --- conanfile.py | 2 +- docs/build/telemetry.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conanfile.py b/conanfile.py index 9630238ef6..92cff0edae 100644 --- a/conanfile.py +++ b/conanfile.py @@ -150,7 +150,7 @@ class Xrpl(ConanFile): # OpenTelemetry C++ SDK for distributed tracing (optional). # Provides OTLP/HTTP exporter, batch span processor, and trace API. if self.options.telemetry: - self.requires("opentelemetry-cpp/1.18.0") + self.requires("opentelemetry-cpp/1.26.0") self.requires("xxhash/0.8.3", transitive_headers=True) exports_sources = ( diff --git a/docs/build/telemetry.md b/docs/build/telemetry.md index eff1a6848b..13edcb85a8 100644 --- a/docs/build/telemetry.md +++ b/docs/build/telemetry.md @@ -64,7 +64,7 @@ cd .build #### Install dependencies -The `telemetry` option adds `opentelemetry-cpp/1.18.0` as a dependency. +The `telemetry` option adds `opentelemetry-cpp/1.26.0` as a dependency. If the Conan lockfile does not yet include this package, bypass it with `--lockfile=""`. ```bash @@ -236,7 +236,7 @@ curl -s -X POST http://127.0.0.1:5005/ \ ### Conan lockfile error -If you see `ERROR: Requirement 'opentelemetry-cpp/1.18.0' not in lockfile 'requires'`, +If you see `ERROR: Requirement 'opentelemetry-cpp/1.26.0' not in lockfile 'requires'`, the lockfile was generated without the telemetry dependency. Pass `--lockfile=""` to bypass the lockfile, or regenerate it with telemetry enabled.