@API(status=EXPERIMENTAL)
public interface SpanDecorator
| Modifier and Type | Method and Description |
|---|---|
static SpanDecorator |
composite(Iterable<SpanDecorator> decorators) |
static SpanDecorator |
composite(SpanDecorator decorator,
SpanDecorator... decorators) |
default void |
onError(io.opentracing.Span span,
Statement statement,
Throwable error) |
default void |
onQuery(io.opentracing.Span span,
Statement statement,
List<String> queries) |
default void onQuery(io.opentracing.Span span,
Statement statement,
List<String> queries)
throws SQLException
SQLExceptiondefault void onError(io.opentracing.Span span,
Statement statement,
Throwable error)
throws SQLException
SQLExceptionstatic SpanDecorator composite(SpanDecorator decorator, SpanDecorator... decorators)
static SpanDecorator composite(Iterable<SpanDecorator> decorators)
Copyright © 2019–2020 Zalando SE. All rights reserved.