public interface ClientRequestAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
addSpanIdToRequest(SpanId spanId)
Enrich the request with the Spanid so we pass the state to the
service we are calling.
|
String |
getClientServiceName()
Returns the service name for request.
|
String |
getSpanName()
Gets the span name for request.
|
Collection<KeyValueAnnotation> |
requestAnnotations()
Returns a collection of annotations that should be added to span
for given request.
|
String getSpanName()
void addSpanIdToRequest(@Nullable SpanId spanId)
spanId - Nullable span id. If null we don't need to trace request and you
should pass an indication along with the request that indicates we won't trace this request.String getClientServiceName()
Collection<KeyValueAnnotation> requestAnnotations()
Copyright © 2015. All rights reserved.