public interface ClientSpanDecorator
| Modifier and Type | Field and Description |
|---|---|
static ClientSpanDecorator |
HTTP_PATH_OPERATION_NAME
As operation name provides HTTP path.
|
static ClientSpanDecorator |
STANDARD_TAGS
Adds standard tags:
Tags.SPAN_KIND,
Tags.PEER_HOSTNAME, Tags.PEER_PORT,
Tags.HTTP_METHOD, Tags.HTTP_URL and
Tags.HTTP_STATUS |
| Modifier and Type | Method and Description |
|---|---|
void |
decorateRequest(javax.ws.rs.client.ClientRequestContext requestContext,
io.opentracing.Span span)
Decorate get by incoming object.
|
void |
decorateResponse(javax.ws.rs.client.ClientResponseContext responseContext,
io.opentracing.Span span)
Decorate spans by outgoing object.
|
static final ClientSpanDecorator STANDARD_TAGS
Tags.SPAN_KIND,
Tags.PEER_HOSTNAME, Tags.PEER_PORT,
Tags.HTTP_METHOD, Tags.HTTP_URL and
Tags.HTTP_STATUSstatic final ClientSpanDecorator HTTP_PATH_OPERATION_NAME
void decorateRequest(javax.ws.rs.client.ClientRequestContext requestContext,
io.opentracing.Span span)
requestContext - span - void decorateResponse(javax.ws.rs.client.ClientResponseContext responseContext,
io.opentracing.Span span)
responseContext - span - Copyright © 2018–2022. All rights reserved.