public interface CommonSpanState
Should be thread aware since we can have multiple parallel request which means multiple trace/spans.
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
endpoint()
Gets the Endpoint (ip, port, service name) for this service.
|
Boolean |
sample()
Indicates if we should sample current request.
|
Boolean sample()
null in case there is no indication if we should sample or not. true in case we got
the indication we should sample current request, false in case we should not sample the current
request.Endpoint endpoint()
Copyright © 2016. All rights reserved.