Span
.@Deprecated public final class V1Span extends Object
Modifier and Type | Class and Description |
---|---|
static class |
V1Span.Builder
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<V1Annotation> |
annotations()
Deprecated.
Same as
Span.annotations() , except each may be associated with Span.localEndpoint() |
List<V1BinaryAnnotation> |
binaryAnnotations()
Deprecated.
Span.tags() are allocated to binary annotations with a V1BinaryAnnotation.stringValue() . |
Boolean |
debug()
Deprecated.
Same as
Span.debug() |
long |
duration()
Deprecated.
Same as
Span.durationAsLong() |
boolean |
equals(Object o)
Deprecated.
|
int |
hashCode()
Deprecated.
|
long |
id()
Deprecated.
Same as
Span.id() except packed into a long. |
String |
name()
Deprecated.
Same as
Span.name() |
static V1Span.Builder |
newBuilder()
Deprecated.
|
long |
parentId()
Deprecated.
The parent's
id() or zero if this the root span in a trace. |
Set<String> |
serviceNames()
Deprecated.
Returns the distinct
service names that logged to this span. |
long |
timestamp()
Deprecated.
Same as
Span.timestampAsLong() |
long |
traceId()
Deprecated.
lower 64-bits of the
Span.traceId() |
long |
traceIdHigh()
Deprecated.
When non-zero, the trace containing this span uses 128-bit trace identifiers.
|
public long traceIdHigh()
public long traceId()
Span.traceId()
public long id()
Span.id()
except packed into a long. Zero means root span.public String name()
Span.name()
public long parentId()
id()
or zero if this the root span in a trace.public long timestamp()
Span.timestampAsLong()
public long duration()
Span.durationAsLong()
public List<V1Annotation> annotations()
Span.annotations()
, except each may be associated with Span.localEndpoint()
public List<V1BinaryAnnotation> binaryAnnotations()
Span.tags()
are allocated to binary annotations with a V1BinaryAnnotation.stringValue()
. Span.remoteEndpoint()
to those without.public Boolean debug()
Span.debug()
public Set<String> serviceNames()
service names
that logged to this span.public static V1Span.Builder newBuilder()
Copyright © 2015–2018 OpenZipkin. All rights reserved.