Skip to content

use NoopTracer for disabling tracing  #80

@gerloh

Description

@gerloh

The suggested implementation for disabeling in the readme uses a ConstSampler and a InMemoryReporter . This is still tracing but not sampling (sending) the traces. Why not NoopTracerImpl by opentracing instead ?
Also the InMemoryReporter has a memory leak ? It is only gathering spans in an arraylist, never releases them ...
https://github.com/opentracing-contrib/java-spring-jaeger#completely-disable-tracing

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