@API(status=EXPERIMENTAL) public final class LogCorrelation extends Object implements ScopeListener, BaggageListener
DEFAULTDEFAULT| Constructor and Description |
|---|
LogCorrelation() |
| Modifier and Type | Method and Description |
|---|---|
void |
onActivated(io.opentracing.Scope scope,
io.opentracing.Span span) |
void |
onBaggage(io.opentracing.Tracer tracer,
io.opentracing.Span span,
String baggageKey,
String value) |
void |
onClosing(io.opentracing.Scope scope,
io.opentracing.Span span) |
LogCorrelation |
withBaggage(Collection<String> keys) |
LogCorrelation |
withBaggage(Map<String,String> mapping) |
LogCorrelation |
withBaggage(String key) |
LogCorrelation |
withBaggage(String baggageKey,
String contextKey) |
LogCorrelation |
withSpanId(String contextKey) |
LogCorrelation |
withTraceId(String contextKey) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomposite, composite, onClosedcomposite, compositepublic LogCorrelation withTraceId(String contextKey)
public LogCorrelation withSpanId(String contextKey)
public LogCorrelation withBaggage(String key)
public LogCorrelation withBaggage(Collection<String> keys)
public LogCorrelation withBaggage(String baggageKey, String contextKey)
public LogCorrelation withBaggage(Map<String,String> mapping)
public void onActivated(io.opentracing.Scope scope,
io.opentracing.Span span)
onActivated in interface ScopeListenerpublic void onBaggage(io.opentracing.Tracer tracer,
io.opentracing.Span span,
String baggageKey,
String value)
onBaggage in interface BaggageListenerpublic void onClosing(io.opentracing.Scope scope,
io.opentracing.Span span)
onClosing in interface ScopeListenerCopyright © 2019–2021 Zalando SE. All rights reserved.