From df1d790427db835b89f58e2273660320e451c568 Mon Sep 17 00:00:00 2001 From: test Date: Thu, 22 Feb 2024 14:12:03 +0800 Subject: [PATCH] fix: update aws-xray example link for trace id --- src/bin/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/server.rs b/src/bin/server.rs index 701a1f1..4eef2b5 100644 --- a/src/bin/server.rs +++ b/src/bin/server.rs @@ -62,7 +62,7 @@ fn set_up_logging() -> Result<(), TryInitError> { // Note: If you need to pass the x-amzn-trace-id across services in the same trace, // you will need this line. However, this requires additional code not pictured here. // For a full example using hyper, see: - // https://github.com/open-telemetry/opentelemetry-rust/blob/main/examples/aws-xray/src/server.rs#L14-L26 + // https://github.com/open-telemetry/opentelemetry-rust/blob/v0.19.0/examples/aws-xray/src/server.rs#L14-L26 global::set_text_map_propagator(XrayPropagator::default()); let tracer = opentelemetry_otlp::new_pipeline()