From 48aba27362a5c486a26721522dc8fac57ba0f1bb Mon Sep 17 00:00:00 2001 From: dimbtp Date: Mon, 26 Feb 2024 18:59:25 +0800 Subject: [PATCH] fix: update aws-xray example link for trace id (#139) --- 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()