public class CqlSpanDecorator extends AbstractSpanDecorator
Modifier and Type | Field and Description |
---|---|
protected static String |
CAMEL_CQL_QUERY |
static String |
CASSANDRA_DB_TYPE |
CAMEL_COMPONENT, DEFAULT
Constructor and Description |
---|
CqlSpanDecorator() |
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.
|
getExtractAdapter, getInitiatorSpanKind, getInjectAdapter, getOperationName, getReceiverSpanKind, newSpan, post, stripSchemeAndOptions, toQueryParameters
public static final String CASSANDRA_DB_TYPE
protected static final String CAMEL_CQL_QUERY
public String getComponent()
SpanDecorator
public void pre(io.opentracing.Span span, org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)
SpanDecorator
pre
in interface SpanDecorator
pre
in class AbstractSpanDecorator
span
- The spanexchange
- The exchangeendpoint
- The endpointApache Camel