Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.
This repository was archived by the owner on May 23, 2023. It is now read-only.

No way to access trace id/span id #146

@AudriusButkevicius

Description

@AudriusButkevicius

As it stands, the interfaces do not provide a way to access the trace id, nor the span id.

Jaeger client exposes span.trace_id and span.span_id, but if the tracer is not initialised, that obviously blows up, as the noop span doesn't have those attributes, requiring people to do hasattr checks.

It's useful to log the trace id/span id of the request being started, which can later be used to debug issues with the request somewhere downstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions