Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getsentry/sentry-rust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 665dca235f40fe54bfefc4210e3db06c1cae5e4e
Choose a base ref
..
head repository: getsentry/sentry-rust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: efbc35bc5414b559e414f7e1f9824900f76fe70f
Choose a head ref
Showing with 3 additions and 1 deletion.
  1. +3 −1 sentry-tracing/src/converters.rs
4 changes: 3 additions & 1 deletion sentry-tracing/src/converters.rs
Original file line number Diff line number Diff line change
@@ -163,7 +163,9 @@ where
S: Subscriber + for<'a> LookupSpan<'a>,
{
let ctx = match ctx.into() {
Some((propagation, ctx)) if propagation.is_attrs_enabled() => Some((propagation, ctx)),
Some((propagation, ctx)) if propagation.is_attrs_enabled() => {
Some((SpanPropagation::Attributes, ctx))
}
//Breadcrumb has no tags, so propagate only attributes
_ => None,
};