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.