Skip to content

Commit

Permalink
merge in tags instead of overwriting span tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bhelx committed Jul 29, 2023
1 parent 0aed052 commit 82c01cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions guest/kitchensink/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ fn run() {

fn main() {
span_enter("main");
span_tags(vec!["user_id:123", "world:hello"]);
run();
span_exit();
}
2 changes: 1 addition & 1 deletion rust/src/adapter/datadog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ impl DatadogAdapter {
}
}

span.meta = dd_meta;
span.meta.extend(dd_meta);
first_span = false;
}
trace.push(span);
Expand Down

0 comments on commit 82c01cc

Please sign in to comment.