| Package | Description |
|---|---|
| com.github.kristofa.brave |
| Modifier and Type | Method and Description |
|---|---|
SpanId |
SpanId.Builder.build() |
static SpanId |
SpanId.create(long traceId,
long spanId,
Long parentSpanId)
Deprecated.
Please use
SpanId.Builder |
static SpanId |
SpanId.fromBytes(byte[] bytes)
Deserializes this from a big-endian byte array
|
abstract SpanId |
TraceData.getSpanId()
Span id.
|
SpanId |
ClientTracer.startNewSpan(String requestName)
Start a new span for a new client request that will be bound to current thread.
|
SpanId |
LocalTracer.startNewSpan(String component,
String operation)
Request a new local span, which starts now.
|
SpanId |
LocalTracer.startNewSpan(String component,
String operation,
long timestamp)
Request a new local span, which started at the given timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientRequestAdapter.addSpanIdToRequest(SpanId spanId)
Enrich the request with the Spanid so we pass the state to the
service we are calling.
|
TraceData.Builder |
TraceData.Builder.spanId(SpanId spanId) |
Copyright © 2016. All rights reserved.