Skip to content

Add/Propagate tracing context across tokio threads #1422

@chiragjn

Description

@chiragjn

Please describe why this is necessary.

A similar issue is being addressed here
Issue: delta-io/delta-rs#3892
PR: delta-io/delta-rs#3894

Context:

We are trying to instrument table loading and we are passing a wrapper object store implementation with the instrument decorators added. However we see that object store calls going via snapshot load path lose parent span context and show up as root spans

To fix this for LogSegment we had to add instrumentation across all spawn and spawn_blocking calls to preserve the context
main...truefoundry:delta-kernel-rs:0.16.0-with-tracing

Would be good to have such tracing available in upstream

Describe the functionality you are proposing.

No response

Additional context

No response

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