Class AutoTagging
- java.lang.Object
-
- org.zalando.opentracing.proxy.plugin.AutoTagging
-
- All Implemented Interfaces:
BaggageListener
,SpanListener
,Plugin
@API(status=EXPERIMENTAL) public final class AutoTagging extends Object implements SpanListener, BaggageListener
-
-
Field Summary
-
Fields inherited from interface org.zalando.opentracing.proxy.listen.baggage.BaggageListener
DEFAULT
-
Fields inherited from interface org.zalando.opentracing.proxy.listen.span.SpanListener
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description AutoTagging(String key)
AutoTagging(String baggageKey, String tagKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onBaggage(io.opentracing.Tracer tracer, io.opentracing.Span span, String key, String value)
void
onStarted(io.opentracing.Span span)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.zalando.opentracing.proxy.listen.span.SpanListener
onFinished, onFinishing
-
-
-
-
Method Detail
-
onStarted
public void onStarted(io.opentracing.Span span)
- Specified by:
onStarted
in interfaceSpanListener
-
onBaggage
public void onBaggage(io.opentracing.Tracer tracer, io.opentracing.Span span, String key, String value)
- Specified by:
onBaggage
in interfaceBaggageListener
-
-