tracing-java icon indicating copy to clipboard operation
tracing-java copied to clipboard

Creating a new trace should always open a new span

Open carterkozak opened this issue 7 years ago • 0 comments

It should not be possible to create a new trace without also creating a root span. The current API allows for an undefined gap between creating a trace, and opening a span. In this gap, a traceId is set on the thread (and logged messages) without occurring inside of an observed operation.

carterkozak avatar Nov 01 '18 20:11 carterkozak