Skip to content

Span not continued on the client side #40

@epot

Description

@epot

I am using grpc version 1.22.
I have the following code on the client side:

new ClientTracingInterceptor
                .Builder()
                .withActiveSpanSource(() -> 
                        GlobalTracer.get().activeSpan()
                ).build();

but it does not continue a span that started before. I debugged the code and it seems we are in a different thread than the one that called the client when the lambda is called (so GlobalTracer.get().activeSpan() is null. I am not sure how this is supposed to work.

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