public final class ZipkinClientRequestAdapter extends Object implements com.github.kristofa.brave.ClientRequestAdapter
Constructor and Description |
---|
ZipkinClientRequestAdapter(ZipkinTracer eventNotifier,
String serviceName,
org.apache.camel.Exchange exchange,
org.apache.camel.Endpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
void |
addSpanIdToRequest(com.github.kristofa.brave.SpanId spanId) |
String |
getClientServiceName() |
String |
getSpanName() |
Collection<com.github.kristofa.brave.KeyValueAnnotation> |
requestAnnotations() |
com.twitter.zipkin.gen.Endpoint |
serverAddress() |
public ZipkinClientRequestAdapter(ZipkinTracer eventNotifier, String serviceName, org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)
public String getSpanName()
getSpanName
in interface com.github.kristofa.brave.ClientRequestAdapter
public void addSpanIdToRequest(@Nullable com.github.kristofa.brave.SpanId spanId)
addSpanIdToRequest
in interface com.github.kristofa.brave.ClientRequestAdapter
public String getClientServiceName()
public Collection<com.github.kristofa.brave.KeyValueAnnotation> requestAnnotations()
requestAnnotations
in interface com.github.kristofa.brave.ClientRequestAdapter
public com.twitter.zipkin.gen.Endpoint serverAddress()
serverAddress
in interface com.github.kristofa.brave.ClientRequestAdapter
Apache Camel