Skip to content

Helper to easily know if we're currently in a trace #185

@fisherdarling

Description

@fisherdarling

Something like:

!tracing::rustracing_span().is_some_and(|span| span.read().is_sampled()) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions