public class SqlSpanDecorator extends AbstractSpanDecorator
| Modifier and Type | Field and Description |
|---|---|
static String |
CAMEL_SQL_QUERY |
CAMEL_COMPONENT, DEFAULT| Constructor and Description |
|---|
SqlSpanDecorator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComponent()
The camel component associated with the decorator.
|
void |
pre(io.opentracing.Span span,
org.apache.camel.Exchange exchange,
org.apache.camel.Endpoint endpoint)
This method adds appropriate details (tags/logs) to the supplied span
based on the pre processing of the exchange.
|
getInitiatorSpanKind, getOperationName, getReceiverSpanKind, newSpan, post, stripSchemeAndOptions, toQueryParameterspublic static final String CAMEL_SQL_QUERY
public String getComponent()
SpanDecoratorpublic void pre(io.opentracing.Span span,
org.apache.camel.Exchange exchange,
org.apache.camel.Endpoint endpoint)
SpanDecoratorpre in interface SpanDecoratorpre in class AbstractSpanDecoratorspan - The spanexchange - The exchangeendpoint - The endpointApache Camel