Skip to content

Commit

Permalink
jaeger: use follows from instead of child of for links (open-telemetr…
Browse files Browse the repository at this point in the history
  • Loading branch information
jtescher committed Apr 17, 2021
1 parent e756cf6 commit 32f34fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions opentelemetry-jaeger/src/exporter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,8 @@ fn links_to_references(links: sdk::trace::EvictedQueue<Link>) -> Option<Vec<jaeg
let trace_id_high = (trace_id >> 64) as i64;
let trace_id_low = trace_id as i64;

// TODO: properly set the reference type when specs are defined
// see https://github.com/open-telemetry/opentelemetry-specification/issues/65
jaeger::SpanRef::new(
jaeger::SpanRefType::ChildOf,
jaeger::SpanRefType::FollowsFrom,
trace_id_low,
trace_id_high,
span_context.span_id().to_u64() as i64,
Expand Down

0 comments on commit 32f34fb

Please sign in to comment.