A B C D E F G H I J K L M N O P Q R S T V Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(List<Span>) - Method in class zipkin2.storage.InMemoryStorage
- accept(List<Span>) - Method in interface zipkin2.storage.SpanConsumer
- acceptedSpanCount() - Method in class zipkin2.storage.InMemoryStorage
- addAnnotation(long, String) - Method in class zipkin2.Span.Builder
-
Sets
Span.annotations - addAnnotation(long, String, Endpoint) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.annotations() - addBinaryAnnotation(String, String, Endpoint) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Creates a tag annotation, which is the same as
Span.tags()except duplicating the endpoint. - addBinaryAnnotation(String, Endpoint) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Creates an address annotation, which is the same as
Span.remoteEndpoint() - Annotation - Class in zipkin2
-
Associates an event that explains latency with a timestamp.
- annotationQuery() - Method in class zipkin2.storage.QueryRequest
-
When an input value is the empty string, include traces whose
Span.annotations()include a value in this set, or whereSpan.tags()include a key is in this set. - annotationQuery(Map<String, String>) - Method in class zipkin2.storage.QueryRequest.Builder
- annotationQueryString() - Method in class zipkin2.storage.QueryRequest
-
Corresponds to query parameter "annotationQuery".
- annotations() - Method in class zipkin2.Span
-
Events that explain latency with a timestamp.
- annotations() - Method in class zipkin2.v1.V1Span
-
Deprecated.Same as
Span.annotations(), except each may be associated withSpan.localEndpoint() - autocompleteCardinality(int) - Method in class zipkin2.storage.StorageComponent.Builder
-
How many autocomplete key/value pairs to suppress at a time.
- autocompleteKeys(List<String>) - Method in class zipkin2.storage.InMemoryStorage.Builder
- autocompleteKeys(List<String>) - Method in class zipkin2.storage.StorageComponent.Builder
-
Autocomplete is used by the UI to suggest getValues for site-specific tags, such as environment names.
- autocompleteTags() - Method in class zipkin2.storage.ForwardingStorageComponent
- autocompleteTags() - Method in class zipkin2.storage.InMemoryStorage
- autocompleteTags() - Method in class zipkin2.storage.StorageComponent
- AutocompleteTags - Interface in zipkin2.storage
-
Provides autocomplete functionality by providing values for a given tag key, usually derived from
SpanConsumer. - autocompleteTtl(int) - Method in class zipkin2.storage.StorageComponent.Builder
-
How long in milliseconds to suppress calls to write the same autocomplete key/value pair.
B
- Base() - Constructor for class zipkin2.Call.Base
- binaryAnnotations() - Method in class zipkin2.v1.V1Span
-
Deprecated.
Span.tags()are allocated to binary annotations with aV1BinaryAnnotation.stringValue(). - build() - Method in class zipkin2.DependencyLink.Builder
- build() - Method in class zipkin2.Endpoint.Builder
- build() - Method in class zipkin2.Span.Builder
- build() - Method in class zipkin2.storage.InMemoryStorage.Builder
- build() - Method in class zipkin2.storage.QueryRequest.Builder
- build() - Method in class zipkin2.storage.StorageComponent.Builder
- build() - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.
- Builder() - Constructor for class zipkin2.storage.InMemoryStorage.Builder
- Builder() - Constructor for class zipkin2.storage.StorageComponent.Builder
- BytesDecoder<T> - Interface in zipkin2.codec
-
This type accepts a collection that receives decoded elements.
- BytesEncoder<T> - Interface in zipkin2.codec
-
Utility for encoding one or more elements of a type into a byte array.
C
- Call<V> - Class in zipkin2
-
This captures a (usually remote) request and can be used once, either
synchronouslyorasynchronously. - Call() - Constructor for class zipkin2.Call
- Call.Base<V> - Class in zipkin2
- Call.ErrorHandler<V> - Interface in zipkin2
- Call.FlatMapper<V1,V2> - Interface in zipkin2
- Call.Mapper<V1,V2> - Interface in zipkin2
- Callback<V> - Interface in zipkin2
-
A callback of a single result or error.
- callCount() - Method in class zipkin2.DependencyLink
-
Total traced calls made from
DependencyLink.parenttoDependencyLink.child - callCount(long) - Method in class zipkin2.DependencyLink.Builder
- cancel() - Method in class zipkin2.Call.Base
- cancel() - Method in class zipkin2.Call
-
Requests to cancel this call, even if some implementations may not support it.
- check() - Method in class zipkin2.Component
-
Answers the question: Are operations on this component likely to succeed?
- check() - Method in class zipkin2.storage.ForwardingStorageComponent
- CheckResult - Class in zipkin2
-
Answers the question: Are operations on this component likely to succeed?
- child() - Method in class zipkin2.DependencyLink
-
The chold service name (callee),
Span.localServiceName()if instrumented. - child(String) - Method in class zipkin2.DependencyLink.Builder
- clear() - Method in class zipkin2.Span.Builder
- clear() - Method in class zipkin2.storage.InMemoryStorage
- clear() - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.
- clearAnnotations() - Method in class zipkin2.Span.Builder
-
Sets
Span.annotations - clearTags() - Method in class zipkin2.Span.Builder
-
Sets
Span.tags - CLIENT - zipkin2.Span.Kind
- clone() - Method in class zipkin2.Call
-
Returns a copy of this object, so you can make an identical follow-up request.
- clone() - Method in class zipkin2.Span.Builder
- close() - Method in class zipkin2.Component
-
Closes any network resources created implicitly by the component.
- close() - Method in class zipkin2.storage.ForwardingStorageComponent
- close() - Method in class zipkin2.storage.InMemoryStorage
- compareTo(Annotation) - Method in class zipkin2.Annotation
-
Compares by
Annotation.timestamp, thenAnnotation.value. - compareTo(V1Annotation) - Method in class zipkin2.v1.V1Annotation
-
Deprecated.Compares by
V1Annotation.timestamp(), thenV1Annotation.value(). - compareTo(V1BinaryAnnotation) - Method in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.Provides consistent iteration by
V1BinaryAnnotation.key - Component - Class in zipkin2
-
Components are object graphs used to compose a zipkin service or client.
- Component() - Constructor for class zipkin2.Component
- CONSUMER - zipkin2.Span.Kind
-
When present,
Span.timestamp()is the moment a consumer received a message from an origin. - convert(Span) - Method in class zipkin2.v1.V2SpanConverter
- convert(V1Span) - Method in class zipkin2.v1.V1SpanConverter
- convert(V1Span, Collection<Span>) - Method in class zipkin2.v1.V1SpanConverter
- create() - Static method in class zipkin2.v1.V1SpanConverter
- create() - Static method in class zipkin2.v1.V2SpanConverter
- create(boolean) - Static method in class zipkin2.storage.GroupByTraceId
- create(long, String) - Static method in class zipkin2.Annotation
- create(long, String, Endpoint) - Static method in class zipkin2.v1.V1Annotation
-
Deprecated.
- create(V) - Static method in class zipkin2.Call
-
Returns a completed call which has the supplied value.
- createAddress(String, Endpoint) - Static method in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.Creates an address annotation, which is the same as
Span.remoteEndpoint() - createString(String, String, Endpoint) - Static method in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.Creates a tag annotation, which is the same as
Span.tags()except duplicating the endpoint.
D
- debug() - Method in class zipkin2.Span
-
True is a request to store this span even if it overrides sampling policy.
- debug() - Method in class zipkin2.v1.V1Span
-
Deprecated.Same as
Span.debug() - debug(boolean) - Method in class zipkin2.Span.Builder
-
Sets
Span.debug() - debug(Boolean) - Method in class zipkin2.Span.Builder
-
Sets
Span.debug() - debug(Boolean) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.debug() - decode(byte[], Collection<T>) - Method in interface zipkin2.codec.BytesDecoder
-
This is used seldom as the canonical message form is a
list. - decodeList(byte[]) - Method in interface zipkin2.codec.BytesDecoder
-
Convenience method for
BytesDecoder.decodeList(byte[], Collection) - decodeList(byte[], Collection<T>) - Method in interface zipkin2.codec.BytesDecoder
-
Returns
trueif an element was decoded or throwsIllegalArgumentException. - decodeList(ByteBuffer) - Method in enum zipkin2.codec.SpanBytesDecoder
-
ByteBuffer implementation of
BytesDecoder.decodeList(byte[]). - decodeList(ByteBuffer, Collection<Span>) - Method in enum zipkin2.codec.SpanBytesDecoder
-
ByteBuffer implementation of
BytesDecoder.decodeList(byte[]). - decodeOne(byte[]) - Method in interface zipkin2.codec.BytesDecoder
-
Visible for testing.
- decodeOne(ByteBuffer) - Method in enum zipkin2.codec.SpanBytesDecoder
-
ByteBuffer implementation of
BytesDecoder.decodeOne(byte[]) - decoderForListMessage(byte[]) - Static method in class zipkin2.SpanBytesDecoderDetector
-
Throws
IllegalArgumentExceptionif the input isn't a json, proto3 or thrift list message. - decoderForListMessage(ByteBuffer) - Static method in class zipkin2.SpanBytesDecoderDetector
- decoderForMessage(byte[]) - Static method in class zipkin2.SpanBytesDecoderDetector
-
Throws
IllegalArgumentExceptionif the input isn't a v1 json or thrift single-span message - delegate() - Method in class zipkin2.storage.ForwardingStorageComponent
-
The delegate is a method as opposed to a field, to allow for flexibility.
- DependencyLink - Class in zipkin2
-
A dependency link is an edge between two services.
- DependencyLink.Builder - Class in zipkin2
- DependencyLinkBytesDecoder - Enum in zipkin2.codec
- DependencyLinkBytesEncoder - Enum in zipkin2.codec
- doCancel() - Method in class zipkin2.Call.Base
- doEnqueue(Callback<V>) - Method in class zipkin2.Call.Base
- doExecute() - Method in class zipkin2.Call.Base
- doIsCanceled() - Method in class zipkin2.Call.Base
- duration() - Method in class zipkin2.Span
-
Measurement in microseconds of the critical path, if known.
- duration() - Method in class zipkin2.v1.V1Span
-
Deprecated.Same as
Span.durationAsLong() - duration(long) - Method in class zipkin2.Span.Builder
- duration(long) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.duration() - duration(Long) - Method in class zipkin2.Span.Builder
-
Sets
Span.duration() - durationAsLong() - Method in class zipkin2.Span
-
Like
Span.duration()except returns a primitive where zero implies absent.
E
- emptyList() - Static method in class zipkin2.Call
- encode(T) - Method in interface zipkin2.codec.BytesEncoder
-
Serializes an object into its binary form.
- encodeList(List<T>) - Method in interface zipkin2.codec.BytesEncoder
-
Serializes a list of objects into their binary form.
- encodeList(List<Span>, byte[], int) - Method in enum zipkin2.codec.SpanBytesEncoder
-
Allows you to encode a list of spans onto a specific offset.
- encoding() - Method in interface zipkin2.codec.BytesDecoder
- encoding() - Method in interface zipkin2.codec.BytesEncoder
- Encoding - Enum in zipkin2.codec
- endpoint() - Method in class zipkin2.v1.V1Annotation
-
Deprecated.The host that reported this annotation or null if unknown.
- endpoint() - Method in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.When
V1BinaryAnnotation.stringValue()is present, this is the same as theSpan.localEndpoint()Otherwise, it is the same as theSpan.remoteEndpoint(). - Endpoint - Class in zipkin2
-
The network context of a node in the service graph.
- Endpoint.Builder - Class in zipkin2
- endTs() - Method in class zipkin2.storage.QueryRequest
-
Only return traces where all
Span.timestamp()are at or before this time in epoch milliseconds. - endTs(long) - Method in class zipkin2.storage.QueryRequest.Builder
-
Sets
QueryRequest.endTs() - enqueue(Callback<V>) - Method in class zipkin2.Call.Base
- enqueue(Callback<V>) - Method in class zipkin2.Call
-
Invokes a request asynchronously, signaling the
callbackwhen complete. - equals(Object) - Method in class zipkin2.Annotation
- equals(Object) - Method in class zipkin2.DependencyLink
- equals(Object) - Method in class zipkin2.Endpoint
- equals(Object) - Method in class zipkin2.Span
- equals(Object) - Method in class zipkin2.v1.V1Annotation
-
Deprecated.
- equals(Object) - Method in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.
- equals(Object) - Method in class zipkin2.v1.V1Span
-
Deprecated.
- error() - Method in class zipkin2.CheckResult
-
Present when not ok
- errorCount() - Method in class zipkin2.DependencyLink
-
known to be errors (having one tag named "error").
- errorCount(long) - Method in class zipkin2.DependencyLink.Builder
- execute() - Method in class zipkin2.Call.Base
- execute() - Method in class zipkin2.Call
-
Invokes a request, returning a success value or propagating an error to the caller.
F
- failed(Throwable) - Static method in class zipkin2.CheckResult
- filterSpans(String) - Static method in class zipkin2.storage.StrictTraceId
- filterTraces(Iterable<String>) - Static method in class zipkin2.storage.StrictTraceId
-
Returns a function that filters its mutable input when it contains a trace not matching the specified trace IDs.
- filterTraces(QueryRequest) - Static method in class zipkin2.storage.StrictTraceId
-
Filters the mutable input client-side when there's a clash on lower 64-bits of a trace ID.
- flatMap(Call.FlatMapper<V, R>) - Method in class zipkin2.Call
-
Maps the result of this call into another, as defined by the
flatMapperfunction. - ForwardingStorageComponent - Class in zipkin2.storage
-
We provide a forwarding variant of the storage component for use cases such as trace decoration, or throttling.
- ForwardingStorageComponent() - Constructor for class zipkin2.storage.ForwardingStorageComponent
-
Constructor for use by subclasses.
G
- getDependencies() - Method in class zipkin2.storage.InMemoryStorage
-
Used for testing.
- getDependencies(long, long) - Method in class zipkin2.storage.InMemoryStorage
- getDependencies(long, long) - Method in interface zipkin2.storage.SpanStore
-
Returns dependency links derived from spans in an interval contained by (endTs - lookback) or empty if none are found.
- getKeys() - Method in interface zipkin2.storage.AutocompleteTags
-
Retrieves the list of tag getKeys whose values may be returned by
AutocompleteTags.getValues(String). - getKeys() - Method in class zipkin2.storage.InMemoryStorage
- getRemoteServiceNames(String) - Method in class zipkin2.storage.InMemoryStorage
- getRemoteServiceNames(String) - Method in interface zipkin2.storage.ServiceAndSpanNames
- getServiceNames() - Method in class zipkin2.storage.InMemoryStorage
- getServiceNames() - Method in interface zipkin2.storage.ServiceAndSpanNames
-
Retrieves all
localservice names, sorted lexicographically. - getServiceNames() - Method in interface zipkin2.storage.SpanStore
-
Deprecated.
- getSpanNames(String) - Method in class zipkin2.storage.InMemoryStorage
- getSpanNames(String) - Method in interface zipkin2.storage.ServiceAndSpanNames
-
Retrieves all
span namesrecorded by aservice, sorted lexicographically. - getSpanNames(String) - Method in interface zipkin2.storage.SpanStore
-
Deprecated.
- getTrace(String) - Method in class zipkin2.storage.InMemoryStorage
- getTrace(String) - Method in interface zipkin2.storage.SpanStore
-
Deprecated.
- getTrace(String) - Method in interface zipkin2.storage.Traces
-
Retrieves spans that share a 128-bit trace id with no ordering expectation or empty if none are found.
- getTraces() - Method in class zipkin2.storage.InMemoryStorage
-
Used for testing.
- getTraces(Iterable<String>) - Method in class zipkin2.storage.InMemoryStorage
- getTraces(Iterable<String>) - Method in interface zipkin2.storage.Traces
-
Retrieves any traces with the specified IDs.
- getTraces(QueryRequest) - Method in class zipkin2.storage.InMemoryStorage
- getTraces(QueryRequest) - Method in interface zipkin2.storage.SpanStore
-
Retrieves spans grouped by trace ID from the storage system with no ordering expectation.
- getValues(String) - Method in interface zipkin2.storage.AutocompleteTags
-
Retrieves the list of values, if the input is configured for autocompletion.
- getValues(String) - Method in class zipkin2.storage.InMemoryStorage
- GroupByTraceId - Class in zipkin2.storage
-
A mapper that groups unorganized input spans by trace ID.
H
- handleError(Call.ErrorHandler<V>) - Method in class zipkin2.Call
-
Returns a call which can attempt to resolve an exception.
- hashCode() - Method in class zipkin2.Annotation
- hashCode() - Method in class zipkin2.DependencyLink
- hashCode() - Method in class zipkin2.Endpoint
- hashCode() - Method in class zipkin2.Span
- hashCode() - Method in class zipkin2.v1.V1Annotation
-
Deprecated.
- hashCode() - Method in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.
- hashCode() - Method in class zipkin2.v1.V1Span
-
Deprecated.
I
- id() - Method in class zipkin2.Span
-
Unique 64bit identifier for this operation within the trace.
- id() - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.id() - id() - Method in class zipkin2.v1.V1Span
-
Deprecated.Same as
Span.id()except packed into a long. - id(long) - Method in class zipkin2.Span.Builder
-
Hex encodes the input as the
Span.id()or throws IllegalArgumentException if the input is zero. - id(long) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.id() - id(String) - Method in class zipkin2.Span.Builder
-
Sets
Span.id()or throwsIllegalArgumentExceptionif not lower-hex format. - id(String) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Same as
Span.Builder.id(String) - InMemoryStorage - Class in zipkin2.storage
-
Test storage component that keeps all spans in memory, accepting them on the calling thread.
- InMemoryStorage.Builder - Class in zipkin2.storage
- ip(String) - Method in class zipkin2.Endpoint.Builder
-
Chaining variant of
Endpoint.Builder.parseIp(String) - ip(InetAddress) - Method in class zipkin2.Endpoint.Builder
-
Chaining variant of
Endpoint.Builder.parseIp(InetAddress) - ipv4() - Method in class zipkin2.Endpoint
-
The text representation of the primary IPv4 address associated with this a connection.
- ipv4Bytes() - Method in class zipkin2.Endpoint
-
IPv4 endpoint address packed into 4 bytes or null if unknown.
- ipv6() - Method in class zipkin2.Endpoint
-
The text representation of the primary IPv6 address associated with this a connection.
- ipv6Bytes() - Method in class zipkin2.Endpoint
-
IPv6 endpoint address packed into 16 bytes or null if unknown.
- isCanceled() - Method in class zipkin2.Call.Base
- isCanceled() - Method in class zipkin2.Call
-
Returns true if Call.cancel() was called.
- isOverCapacity(Throwable) - Method in class zipkin2.storage.ForwardingStorageComponent
- isOverCapacity(Throwable) - Method in class zipkin2.storage.StorageComponent
-
A storage request failed and was dropped due to a limit, resource unavailability, or a timeout.
J
- JSON - zipkin2.codec.Encoding
- JSON_V1 - zipkin2.codec.DependencyLinkBytesDecoder
- JSON_V1 - zipkin2.codec.DependencyLinkBytesEncoder
- JSON_V1 - zipkin2.codec.SpanBytesDecoder
-
Corresponds to the Zipkin v1 json format
- JSON_V1 - zipkin2.codec.SpanBytesEncoder
-
Corresponds to the Zipkin v1 json format (with tags as binary annotations)
- JSON_V2 - zipkin2.codec.SpanBytesDecoder
-
Corresponds to the Zipkin v2 json format
- JSON_V2 - zipkin2.codec.SpanBytesEncoder
-
Corresponds to the Zipkin v2 json format
K
- key() - Method in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.The same as the key of a
Span.tags()v2 span tag} - kind() - Method in class zipkin2.Span.Builder
- kind() - Method in class zipkin2.Span
-
When present, used to interpret
Span.remoteEndpoint - kind(Span.Kind) - Method in class zipkin2.Span.Builder
-
Sets
Span.kind
L
- limit() - Method in class zipkin2.storage.QueryRequest
-
Maximum number of traces to return.
- limit(int) - Method in class zipkin2.storage.QueryRequest.Builder
-
Sets
QueryRequest.limit() - listSizeInBytes(int) - Method in enum zipkin2.codec.Encoding
-
Like
Encoding.listSizeInBytes(List), except for a single element. - listSizeInBytes(List<byte[]>) - Method in enum zipkin2.codec.Encoding
- localEndpoint() - Method in class zipkin2.Span.Builder
- localEndpoint() - Method in class zipkin2.Span
-
The host that recorded this span, primarily for query by service name.
- localEndpoint(Endpoint) - Method in class zipkin2.Span.Builder
-
Sets
Span.localEndpoint - localServiceName() - Method in class zipkin2.Span
- lookback() - Method in class zipkin2.storage.QueryRequest
-
Only return traces where all
Span.timestamp()are at or after (endTs - lookback) in milliseconds. - lookback(long) - Method in class zipkin2.storage.QueryRequest.Builder
M
- map(List<Span>) - Method in class zipkin2.storage.GroupByTraceId
- map(V1) - Method in interface zipkin2.Call.FlatMapper
- map(V1) - Method in interface zipkin2.Call.Mapper
- map(Call.Mapper<V, R>) - Method in class zipkin2.Call
-
Maps the result of this call into a different shape, as defined by the
mapperfunction. - maxDuration() - Method in class zipkin2.storage.QueryRequest
-
Only return traces whose
Span.duration()is less than or equal to maxDuration microseconds. - maxDuration(Long) - Method in class zipkin2.storage.QueryRequest.Builder
- maxSpanCount(int) - Method in class zipkin2.storage.InMemoryStorage.Builder
-
Eldest traces are removed to ensure spans in memory don't exceed this value
- merge(Span) - Method in class zipkin2.Span.Builder
-
Used to merge multiple incomplete spans representing the same operation on the same host.
- minDuration() - Method in class zipkin2.storage.QueryRequest
-
Only return traces whose
Span.duration()is greater than or equal to minDuration microseconds. - minDuration(Long) - Method in class zipkin2.storage.QueryRequest.Builder
N
- name() - Method in class zipkin2.Span
-
Span name in lowercase, rpc method for example.
- name() - Method in class zipkin2.v1.V1Span
-
Deprecated.Same as
Span.name() - name(String) - Method in class zipkin2.Span.Builder
-
Sets
Span.name - name(String) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.name() - newBuilder() - Static method in class zipkin2.DependencyLink
- newBuilder() - Static method in class zipkin2.Endpoint
- newBuilder() - Static method in class zipkin2.Span
- newBuilder() - Static method in class zipkin2.storage.InMemoryStorage
- newBuilder() - Static method in class zipkin2.storage.QueryRequest
- newBuilder() - Static method in class zipkin2.v1.V1Span
-
Deprecated.
- normalizeTraceId(String) - Static method in class zipkin2.Span
-
Returns a valid lower-hex trace ID, padded left as needed to 16 or 32 characters.
O
- ok() - Method in class zipkin2.CheckResult
- OK - Static variable in class zipkin2.CheckResult
- onError(Throwable) - Method in interface zipkin2.Callback
-
Invoked when computation produces a possibly null value successfully.
- onErrorReturn(Throwable, Callback<V>) - Method in interface zipkin2.Call.ErrorHandler
-
Attempts to resolve an error.
- onSuccess(V) - Method in interface zipkin2.Callback
-
Invoked when computation produces its potentially null value successfully.
P
- parent() - Method in class zipkin2.DependencyLink
-
The parent service name (caller),
Span.localServiceName()if instrumented. - parent(String) - Method in class zipkin2.DependencyLink.Builder
- parentId() - Method in class zipkin2.Span
-
The parent's
Span.idor null if this the root span in a trace. - parentId() - Method in class zipkin2.v1.V1Span
-
Deprecated.The parent's
V1Span.id()or zero if this the root span in a trace. - parentId(long) - Method in class zipkin2.Span.Builder
-
Hex encodes the input as the
Span.parentId()or unsets if the input is zero. - parentId(long) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.parentId() - parentId(String) - Method in class zipkin2.Span.Builder
-
Sets
Span.parentId()or throwsIllegalArgumentExceptionif not lower-hex format. - parentId(String) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Same as
Span.Builder.parentId(String) - parseAnnotationQuery(String) - Method in class zipkin2.storage.QueryRequest.Builder
-
Corresponds to query parameter "annotationQuery".
- parseIp(byte[]) - Method in class zipkin2.Endpoint.Builder
-
Like
Endpoint.Builder.parseIp(String)except this accepts a byte array. - parseIp(String) - Method in class zipkin2.Endpoint.Builder
-
Returns true if
Endpoint.ipv4()orEndpoint.ipv6()could be parsed from the input. - parseIp(InetAddress) - Method in class zipkin2.Endpoint.Builder
-
Returns true if
Endpoint.ipv4()orEndpoint.ipv6()could be parsed from the input. - port() - Method in class zipkin2.Endpoint
-
Port of the IP's socket or null, if not known.
- port(int) - Method in class zipkin2.Endpoint.Builder
-
Sets
Endpoint.portAsInt() - port(Integer) - Method in class zipkin2.Endpoint.Builder
-
Use this to set the port to an externally defined value.
- portAsInt() - Method in class zipkin2.Endpoint
-
Like
Endpoint.port()except returns a primitive where zero implies absent. - PRODUCER - zipkin2.Span.Kind
-
When present,
Span.timestamp()is the moment a producer sent a message to a destination. - propagateIfFatal(Throwable) - Static method in class zipkin2.Call
- PROTO3 - zipkin2.codec.Encoding
-
Repeated (type 2) fields are length-prefixed.
- PROTO3 - zipkin2.codec.SpanBytesDecoder
- PROTO3 - zipkin2.codec.SpanBytesEncoder
- putTag(String, String) - Method in class zipkin2.Span.Builder
-
Sets
Span.tags
Q
- QueryRequest - Class in zipkin2.storage
-
Invoking this request retrieves traces matching the below filters.
- QueryRequest.Builder - Class in zipkin2.storage
R
- remoteEndpoint() - Method in class zipkin2.Span
-
When an RPC (or messaging) span, indicates the other side of the connection.
- remoteEndpoint(Endpoint) - Method in class zipkin2.Span.Builder
-
Sets
Span.remoteEndpoint - remoteServiceName() - Method in class zipkin2.Span
- remoteServiceName() - Method in class zipkin2.storage.QueryRequest
-
When present, only include traces with this
remote service name. - remoteServiceName(String) - Method in class zipkin2.storage.QueryRequest.Builder
S
- searchEnabled(boolean) - Method in class zipkin2.storage.InMemoryStorage.Builder
- searchEnabled(boolean) - Method in class zipkin2.storage.StorageComponent.Builder
-
False is an attempt to disable indexing, leaving only
StorageComponent.traces()supported. - SERVER - zipkin2.Span.Kind
- serviceAndSpanNames() - Method in class zipkin2.storage.ForwardingStorageComponent
- serviceAndSpanNames() - Method in class zipkin2.storage.InMemoryStorage
- serviceAndSpanNames() - Method in class zipkin2.storage.StorageComponent
- ServiceAndSpanNames - Interface in zipkin2.storage
-
Provides autocomplete functionality by providing values for service and span names, usually derived from
SpanConsumer. - serviceName() - Method in class zipkin2.Endpoint
-
Lower-case label of this node in the service graph, such as "favstar".
- serviceName() - Method in class zipkin2.storage.QueryRequest
-
When present, corresponds to the
local service nameand constrains all other parameters. - serviceName(String) - Method in class zipkin2.Endpoint.Builder
-
Sets
Endpoint.serviceName - serviceName(String) - Method in class zipkin2.storage.QueryRequest.Builder
- serviceNames() - Method in class zipkin2.v1.V1Span
-
Deprecated.Returns the distinct
service namesthat logged to this span. - shared() - Method in class zipkin2.Span
-
True if we are contributing to a span started by another tracer (ex on a different host).
- shared(boolean) - Method in class zipkin2.Span.Builder
-
Sets
Span.shared() - shared(Boolean) - Method in class zipkin2.Span.Builder
-
Sets
Span.shared() - sizeInBytes(T) - Method in interface zipkin2.codec.BytesEncoder
- Span - Class in zipkin2
-
A span is a single-host view of an operation.
- Span.Builder - Class in zipkin2
- Span.Kind - Enum in zipkin2
-
Indicates the primary span type.
- SpanBytesDecoder - Enum in zipkin2.codec
-
This is separate from
SpanBytesEncoder, as it isn't needed for instrumentation - SpanBytesDecoderDetector - Class in zipkin2
-
Detecting decoder used in transports which don't include means to identify the type of the data.
- SpanBytesEncoder - Enum in zipkin2.codec
-
Limited interface needed by those writing span reporters
- spanConsumer() - Method in class zipkin2.storage.ForwardingStorageComponent
- spanConsumer() - Method in class zipkin2.storage.InMemoryStorage
- spanConsumer() - Method in class zipkin2.storage.StorageComponent
- SpanConsumer - Interface in zipkin2.storage
- spanName() - Method in class zipkin2.storage.QueryRequest
-
When present, only include traces with this
Span.name() - spanName(String) - Method in class zipkin2.storage.QueryRequest.Builder
-
This ignores the reserved span name "all".
- spanStore() - Method in class zipkin2.storage.ForwardingStorageComponent
- spanStore() - Method in class zipkin2.storage.InMemoryStorage
- spanStore() - Method in class zipkin2.storage.StorageComponent
- SpanStore - Interface in zipkin2.storage
-
Queries data derived from
SpanConsumer. - StorageComponent - Class in zipkin2.storage
-
A component that provides storage interfaces used for spans and aggregations.
- StorageComponent() - Constructor for class zipkin2.storage.StorageComponent
- StorageComponent.Builder - Class in zipkin2.storage
- strictTraceId(boolean) - Method in class zipkin2.storage.InMemoryStorage.Builder
- strictTraceId(boolean) - Method in class zipkin2.storage.StorageComponent.Builder
-
Zipkin supports 64 and 128-bit trace identifiers, typically serialized as 16 or 32 character hex strings.
- StrictTraceId - Class in zipkin2.storage
-
Storage implementation often need to re-check query results when
strict trace IDis disabled. - stringValue() - Method in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.The same as the value of a
Span.tags()v2 span tag} or null if this is an address
T
- tags() - Method in class zipkin2.Span
-
Tags a span with context, usually to support query or aggregation.
- test(List<Span>) - Method in class zipkin2.storage.QueryRequest
-
Tests the supplied trace against the current request.
- THRIFT - zipkin2.codec.Encoding
-
Deprecated.this format is deprecated in favor of json or proto3
- THRIFT - zipkin2.codec.SpanBytesDecoder
-
Corresponds to the Zipkin v1 thrift format
- THRIFT - zipkin2.codec.SpanBytesEncoder
-
Corresponds to the Zipkin v1 thrift format
- timestamp() - Method in class zipkin2.Annotation
-
Microseconds from epoch.
- timestamp() - Method in class zipkin2.Span
-
Epoch microseconds of the start of this span, possibly absent if this an incomplete span.
- timestamp() - Method in class zipkin2.v1.V1Annotation
-
Deprecated.
- timestamp() - Method in class zipkin2.v1.V1Span
-
Deprecated.Same as
Span.timestampAsLong() - timestamp(long) - Method in class zipkin2.Span.Builder
- timestamp(long) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.timestamp() - timestamp(Long) - Method in class zipkin2.Span.Builder
-
Sets
Span.timestamp() - timestampAsLong() - Method in class zipkin2.Span
-
Like
Span.timestamp()except returns a primitive where zero implies absent. - toBuilder() - Method in class zipkin2.DependencyLink
- toBuilder() - Method in class zipkin2.Endpoint
- toBuilder() - Method in class zipkin2.Span
- toBuilder() - Method in class zipkin2.storage.QueryRequest
- toString() - Method in class zipkin2.Annotation
- toString() - Method in class zipkin2.CheckResult
- toString() - Method in class zipkin2.DependencyLink
- toString() - Method in class zipkin2.Endpoint
- toString() - Method in class zipkin2.Span
- toString() - Method in class zipkin2.storage.ForwardingStorageComponent
- toString() - Method in class zipkin2.storage.GroupByTraceId
- toString() - Method in class zipkin2.storage.InMemoryStorage
- toString() - Method in class zipkin2.storage.QueryRequest
- traceId() - Method in class zipkin2.Span
-
Trace identifier, set on all spans within it.
- traceId() - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.traceId() - traceId() - Method in class zipkin2.v1.V1Span
-
Deprecated.lower 64-bits of the
Span.traceId() - traceId(long) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.traceId() - traceId(long, long) - Method in class zipkin2.Span.Builder
-
Encodes 64 or 128 bits from the input into a hex trace ID.
- traceId(String) - Method in class zipkin2.Span.Builder
-
Sets
Span.id()or throwsIllegalArgumentExceptionif not lower-hex format. - traceId(String) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Same as
Span.Builder.traceId(String) - traceIdHigh() - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.traceIdHigh() - traceIdHigh() - Method in class zipkin2.v1.V1Span
-
Deprecated.When non-zero, the trace containing this span uses 128-bit trace identifiers.
- traceIdHigh(long) - Method in class zipkin2.v1.V1Span.Builder
-
Deprecated.Sets
V1Span.traceIdHigh() - traces() - Method in class zipkin2.storage.ForwardingStorageComponent
- traces() - Method in class zipkin2.storage.InMemoryStorage
- traces() - Method in class zipkin2.storage.StorageComponent
- Traces - Interface in zipkin2.storage
-
Allows readback of traces by ID, as written by a
SpanConsumer. - type() - Method in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.The thrift type for the value defined in Zipkin's thrift definition.
- TYPE_BOOLEAN - Static variable in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.The defined in zipkin's thrift definition
- TYPE_STRING - Static variable in class zipkin2.v1.V1BinaryAnnotation
-
Deprecated.The type defined in zipkin's thrift definition
V
- V1Annotation - Class in zipkin2.v1
-
Deprecated.new code should use
Annotation. - V1BinaryAnnotation - Class in zipkin2.v1
-
Deprecated.new code should use
Span.tags(). - V1Span - Class in zipkin2.v1
-
Deprecated.new code should use
Span. - V1Span.Builder - Class in zipkin2.v1
-
Deprecated.
- V1SpanConverter - Class in zipkin2.v1
-
Allows you to split a v1 span when necessary.
- V2SpanConverter - Class in zipkin2.v1
-
Allows you convert a v2 span into a v1 span.
- value() - Method in class zipkin2.Annotation
-
Usually a short tag indicating an event, like
cache.missorerror - value() - Method in class zipkin2.v1.V1Annotation
-
Deprecated.Sets
Annotation.value() - valueOf(String) - Static method in enum zipkin2.codec.DependencyLinkBytesDecoder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum zipkin2.codec.DependencyLinkBytesEncoder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum zipkin2.codec.Encoding
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum zipkin2.codec.SpanBytesDecoder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum zipkin2.codec.SpanBytesEncoder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum zipkin2.Span.Kind
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum zipkin2.codec.DependencyLinkBytesDecoder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum zipkin2.codec.DependencyLinkBytesEncoder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum zipkin2.codec.Encoding
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum zipkin2.codec.SpanBytesDecoder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum zipkin2.codec.SpanBytesEncoder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum zipkin2.Span.Kind
-
Returns an array containing the constants of this enum type, in the order they are declared.
Z
- zipkin2 - package zipkin2
- zipkin2.codec - package zipkin2.codec
- zipkin2.storage - package zipkin2.storage
- zipkin2.v1 - package zipkin2.v1
All Classes All Packages