Skip to content

Creating a new trace should always open a new span #33

@carterkozak

Description

@carterkozak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions