Skip to content

Commit

Permalink
Regenerate trace ID for a thread after each send (#11)
Browse files Browse the repository at this point in the history
* Regenerate trace ID for a thread after each send

Since threads can be run again for new traces, we should regenerate
after each "send" to make sure that a traceID only stays valid from teh
first span until the send (which sends the parent as well), then we can
regen a trace ID and start again if the same thread starts a new trace
with a new parent span.

* cargo fmt
  • Loading branch information
kitsuneninetails authored Jun 8, 2020
1 parent 5f3a0c0 commit 11722e4
Showing 1 changed file with 185 additions and 97 deletions.
Loading

0 comments on commit 11722e4

Please sign in to comment.