Class ZipkinTracer

All Implemented Interfaces:
Tracer, Closeable, AutoCloseable

public class ZipkinTracer extends Object implements Tracer
The ZipkinTracer delegates to BraveTracer while creating ZipkinSpanBuilder instead of BraveSpanBuilder. This class should not be sued directly, use either TracerBuilder or ZipkinTracerBuilder.
See Also:
  • Constructor Details

    • ZipkinTracer

      public ZipkinTracer(brave.opentracing.BraveTracer tracer, List<Tag<?>> tags)
      Create a zipkin tracer from the delegate (BraveTracer) and tags to be used by default for all traces.
      tracer - tracer to wrap
      tags - list of tags to be automatically added to each span
  • Method Details