Skip to content

Commit

Permalink
fix: update aws-xray example link for trace id (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbtp authored Feb 26, 2024
1 parent 9b93f75 commit 48aba27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 48aba27

Please sign in to comment.