Skip to content

Add an option to force sampling before tags are set #51

@bboreham

Description

@bboreham

OpenTracing conventions say that sampling.priority >0 should capture the trace. However, when using Jaeger, any tags set before this are ignored jaegertracing/jaeger-client-go#391.

I think this could be done via spanObserver in nethttp.Middleware, if that were called before the method, url, etc., are set.

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