| Modifier and Type | Field and Description |
|---|---|
| public static final VertxTracer | NOOP
Noop tracer. |
| Modifier and Type | Method and Description |
|---|---|
| public default void | |
| public default <R> I | Returns: the request tracethe context data attached to the request context, SpanKind the span kind kind, TracingPolicy the policy to apply policy, R the request object request, String the request operation operation, Iterable<Map.a read-only view of the request headers headers,the request tag extractor tagExtractor)Signal a request has been received and will be processed. |
| public default <R> void | receiveResponse(Context
the context data attached to the request context, R the response sent response, O the payload returned by payload, Throwable sendRequestthe failure when not failure, TagExtractor<R> nullthe response tag extractor tagExtractor)Signal a response has been received. |
| public default <R> O | Returns: the request tracethe context data attached to the request context, SpanKind the span kind kind, TracingPolicy the policy to apply policy, R the request object request, String the request operation operation, BiConsumer<String, String> a write only-view of the request headers headers, TagExtractor<R> the request tag extractor tagExtractor)Signal a request is sent. |
| public default <R> void | sendResponse(Context
the context data attached to the request context, R the response sent response, I the payload returned by payload, Throwable receiveRequestthe failure when not failure, TagExtractor<R> nullthe response tag extractor tagExtractor)Signal the response is sent. |
| NOOP | back to summary |
|---|---|
| public static final VertxTracer<I, O> NOOP Noop tracer. | |
| close | back to summary |
|---|---|
| public default void close() Close the tracer. | |
| receiveRequest | back to summary |
|---|---|
| public default <R> I receiveRequest(Context context, SpanKind kind, TracingPolicy policy, R request, String operation, Iterable<Map. Signal a request has been received and will be processed.
| |
| receiveResponse | back to summary |
|---|---|
| public default <R> void receiveResponse(Context context, R response, O payload, Throwable failure, TagExtractor<R> tagExtractor) Signal a response has been received.
| |
| sendRequest | back to summary |
|---|---|
| public default <R> O sendRequest(Context context, SpanKind kind, TracingPolicy policy, R request, String operation, BiConsumer<String, String> headers, TagExtractor<R> tagExtractor) Signal a request is sent. When the method returns
| |
| sendResponse | back to summary |
|---|---|
| public default <R> void sendResponse(Context context, R response, I payload, Throwable failure, TagExtractor<R> tagExtractor) Signal the response is sent.
| |