| Package | Description |
|---|---|
| zipkin2 | |
| zipkin2.codec | |
| zipkin2.internal | |
| zipkin2.storage |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
Span.debug()
True is a request to store this span even if it overrides sampling policy.
|
Long |
Span.duration()
Measurement in microseconds of the critical path, if known.
|
abstract Throwable |
CheckResult.error()
Present when not ok
|
String |
Endpoint.ipv4()
The text representation of the primary IPv4 address associated with this a connection.
|
byte[] |
Endpoint.ipv4Bytes()
IPv4 endpoint address packed into 4 bytes or null if unknown.
|
String |
Endpoint.ipv6()
The text representation of the primary IPv6 address associated with this a connection.
|
byte[] |
Endpoint.ipv6Bytes()
IPv6 endpoint address packed into 16 bytes or null if unknown.
|
Span.Kind |
Span.kind()
When present, used to interpret
Span.remoteEndpoint |
Span.Kind |
Span.Builder.kind() |
Endpoint |
Span.localEndpoint()
The host that recorded this span, primarily for query by service name.
|
Endpoint |
Span.Builder.localEndpoint() |
String |
Span.localServiceName() |
String |
Span.name()
Span name in lowercase, rpc method for example.
|
String |
Span.parentId()
The parent's
Span.id or null if this the root span in a trace. |
Integer |
Endpoint.port()
Port of the IP's socket or null, if not known.
|
Endpoint |
Span.remoteEndpoint()
When an RPC (or messaging) span, indicates the other side of the connection.
|
String |
Span.remoteServiceName() |
String |
Endpoint.serviceName()
Lower-case label of this node in the service graph, such as "favstar".
|
Boolean |
Span.shared()
True if we are contributing to a span started by another tracer (ex on a different host).
|
Long |
Span.timestamp()
Epoch microseconds of the start of this span, possibly absent if this an incomplete span.
|
| Modifier and Type | Method and Description |
|---|---|
Span.Builder |
Span.Builder.debug(Boolean debug) |
Span.Builder |
Span.Builder.duration(Long duration) |
Endpoint.Builder |
Endpoint.Builder.ip(InetAddress addr)
Chaining variant of
Endpoint.Builder.parseIp(InetAddress) |
Endpoint.Builder |
Endpoint.Builder.ip(String ipString)
Chaining variant of
Endpoint.Builder.parseIp(String) |
Span.Builder |
Span.Builder.kind(Span.Kind kind) |
Span.Builder |
Span.Builder.localEndpoint(Endpoint localEndpoint) |
Span.Builder |
Span.Builder.name(String name) |
void |
Callback.onSuccess(V value)
Invoked when computation produces its potentially null value successfully.
|
Span.Builder |
Span.Builder.parentId(String parentId) |
boolean |
Endpoint.Builder.parseIp(InetAddress addr)
Returns true if
Endpoint.ipv4() or Endpoint.ipv6() could be parsed from the
input. |
boolean |
Endpoint.Builder.parseIp(String ipString)
Returns true if
Endpoint.ipv4() or Endpoint.ipv6() could be parsed from the
input. |
Endpoint.Builder |
Endpoint.Builder.port(Integer port)
Use this to set the port to an externally defined value.
|
Span.Builder |
Span.Builder.remoteEndpoint(Endpoint remoteEndpoint) |
Endpoint.Builder |
Endpoint.Builder.serviceName(String serviceName) |
Span.Builder |
Span.Builder.shared(Boolean shared) |
Span.Builder |
Span.Builder.timestamp(Long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
T |
BytesDecoder.decodeOne(byte[] serialized)
Visible for testing.
|
| Modifier and Type | Method and Description |
|---|---|
Node<V> |
Node.parent()
Returns the parent, or null if root
|
static Span |
Proto3Codec.readOne(byte[] bytes) |
static <T> T |
JsonCodec.readOne(JsonCodec.JsonReaderAdapter<T> adapter,
byte[] bytes) |
V |
Node.value()
Returns the value, or null if
Node.isSyntheticRootForPartialTree() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Node.TreeBuilder.addNode(String parentId,
String id,
V value)
Returns false after logging to FINE if the value couldn't be added
|
| Modifier and Type | Method and Description |
|---|---|
String |
QueryRequest.annotationQueryString()
Corresponds to query parameter "annotationQuery".
|
abstract Long |
QueryRequest.maxDuration()
Only return traces whose
Span.duration() is less than or equal to maxDuration
microseconds. |
abstract Long |
QueryRequest.minDuration()
Only return traces whose
Span.duration() is greater than or equal to minDuration
microseconds. |
abstract String |
QueryRequest.serviceName()
When present, corresponds to
Endpoint.serviceName and constrains all other
parameters. |
abstract String |
QueryRequest.spanName()
When present, only include traces with this
Span.name |
| Modifier and Type | Method and Description |
|---|---|
abstract QueryRequest.Builder |
QueryRequest.Builder.maxDuration(Long maxDuration) |
abstract QueryRequest.Builder |
QueryRequest.Builder.minDuration(Long minDuration) |
QueryRequest.Builder |
QueryRequest.Builder.parseAnnotationQuery(String annotationQuery)
Corresponds to query parameter "annotationQuery".
|
abstract QueryRequest.Builder |
QueryRequest.Builder.serviceName(String serviceName) |
abstract QueryRequest.Builder |
QueryRequest.Builder.spanName(String spanName)
This ignores the reserved span name "all".
|
Copyright © 2015–2018 OpenZipkin. All rights reserved.