@API(status=EXPERIMENTAL) public final class LogCorrelation extends Object implements ScopeListener, BaggageListener
| Constructor and Description |
|---|
LogCorrelation() |
| Modifier and Type | Method and Description |
|---|---|
void |
onActivated(io.opentracing.Scope scope,
io.opentracing.Span span) |
void |
onBaggage(io.opentracing.Span span,
String baggageKey,
String value) |
void |
onClosing(io.opentracing.Scope scope,
io.opentracing.Span span) |
<R extends Registry<R>> |
registerTo(R registry) |
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, onClosedbaggage, composite, compositepublic LogCorrelation withTraceId(String contextKey)
public LogCorrelation withSpanId(String contextKey)
public LogCorrelation withBaggage(String key)
public LogCorrelation withBaggage(String baggageKey, String contextKey)
public void onActivated(io.opentracing.Scope scope,
io.opentracing.Span span)
onActivated in interface ScopeListenerpublic void onBaggage(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 ScopeListenerpublic <R extends Registry<R>> R registerTo(R registry)
registerTo in interface BaggageListenerregisterTo in interface PluginregisterTo in interface ScopeListenerCopyright © 2019 Zalando SE. All rights reserved.