datadog-apm-rust-sync
datadog-apm-rust-sync copied to clipboard
Make the first span of a trace the `parent_span` instead of creating a duplicate span called `traceparent`.
The first span of a trace can serve the same role as the `traceparent` currently does.
Send the trace/spans to datadog when the root span has ended. This removes the need to have an `event!` to trigger sending the spans to datadog.
We can update the `tracing-subscriber` crate to the latest version to remove one transitive dependency on `time 0.1.44`