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 |
getSpanName()
Gets the span name for request.
|
Collection<KeyValueAnnotation> |
requestAnnotations()
Returns a collection of annotations that should be added to span
for given request.
|
Endpoint |
serverAddress()
Provides the remote server address information for additional tracking.
|
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.Collection<KeyValueAnnotation> requestAnnotations()
Copyright © 2016. All rights reserved.