public interface SpanDecorator
| Modifier and Type | Method and Description |
|---|---|
static SpanDecorator |
composite(Collection<SpanDecorator> decorators) |
static SpanDecorator |
composite(SpanDecorator decorator,
SpanDecorator... decorators) |
default void |
onError(io.opentracing.Span span,
RequestArguments arguments,
Throwable error) |
default void |
onRequest(io.opentracing.Span span,
RequestArguments arguments) |
default void |
onResponse(io.opentracing.Span span,
RequestArguments arguments,
org.springframework.http.client.ClientHttpResponse response) |
default void onRequest(io.opentracing.Span span,
RequestArguments arguments)
default void onResponse(io.opentracing.Span span,
RequestArguments arguments,
org.springframework.http.client.ClientHttpResponse response)
throws IOException
IOExceptiondefault void onError(io.opentracing.Span span,
RequestArguments arguments,
Throwable error)
static SpanDecorator composite(SpanDecorator decorator, SpanDecorator... decorators)
static SpanDecorator composite(Collection<SpanDecorator> decorators)
Copyright © 2015–2019 Zalando SE. All rights reserved.