A B C D E F H I J L M N O P Q R S T U V Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AsyncReporter<S> - Class in zipkin2.reporter
-
As spans are reported, they are encoded and added to a pending queue.
- AsyncReporter.Builder - Class in zipkin2.reporter
- await() - Method in class zipkin2.reporter.AwaitableCallback
-
Blocks until
Callback.onSuccess(Object)orCallback.onError(Throwable). - AwaitableCallback - Class in zipkin2.reporter
-
Blocks until
Callback.onSuccess(Object)orCallback.onError(Throwable). - AwaitableCallback() - Constructor for class zipkin2.reporter.AwaitableCallback
B
- Base() - Constructor for class zipkin2.reporter.Call.Base
- build() - Method in class zipkin2.reporter.AsyncReporter.Builder
-
Builds an async reporter that encodes zipkin spans as they are reported.
- build(BytesEncoder<S>) - Method in class zipkin2.reporter.AsyncReporter.Builder
-
Builds an async reporter that encodes arbitrary spans as they are reported.
- builder(Sender) - Static method in class zipkin2.reporter.AsyncReporter
-
Like
AsyncReporter.create(Sender), except you can configure settings such as the timeout. - BytesEncoder<S> - Interface in zipkin2.reporter
-
Utility for encoding one or more elements of a type into a byte array.
- BytesMessageEncoder - Enum in zipkin2.reporter
-
Senders like Kafka use byte[] message encoding.
C
- Call<V> - Class in zipkin2.reporter
-
This captures a (usually remote) request and can be used once, either
synchronouslyorasynchronously. - Call() - Constructor for class zipkin2.reporter.Call
- Call.Base<V> - Class in zipkin2.reporter
- Call.ErrorHandler<V> - Interface in zipkin2.reporter
- Call.FlatMapper<V1,V2> - Interface in zipkin2.reporter
- Call.Mapper<V1,V2> - Interface in zipkin2.reporter
- Callback<V> - Interface in zipkin2.reporter
-
A callback of a single result or error.
- cancel() - Method in class zipkin2.reporter.Call.Base
- cancel() - Method in class zipkin2.reporter.Call
-
Requests to cancel this call, even if some implementations may not support it.
- check() - Method in class zipkin2.reporter.Component
-
Answers the question: Are operations on this component likely to succeed?
- CheckResult - Class in zipkin2.reporter
-
Answers the question: Are operations on this component likely to succeed?
- clear() - Method in class zipkin2.reporter.InMemoryReporterMetrics
- clone() - Method in class zipkin2.reporter.Call
-
Returns a copy of this object, so you can make an identical follow-up request.
- close() - Method in class zipkin2.reporter.AsyncReporter
-
Shuts down the sender thread, and increments drop metrics if there were any unsent spans.
- close() - Method in class zipkin2.reporter.Component
-
Closes any network resources created implicitly by the component.
- ClosedSenderException - Exception in zipkin2.reporter
-
An exception thrown when a
Senderis used after it has been closed. - ClosedSenderException() - Constructor for exception zipkin2.reporter.ClosedSenderException
- closeTimeout(long, TimeUnit) - Method in class zipkin2.reporter.AsyncReporter.Builder
-
How long to block for in-flight spans to send out-of-process on close.
- Component - Class in zipkin2.reporter
-
Components are object graphs used to compose a zipkin service or client.
- Component() - Constructor for class zipkin2.reporter.Component
- CONSOLE - Static variable in interface zipkin2.reporter.Reporter
- create(V) - Static method in class zipkin2.reporter.Call
-
Returns a completed call which has the supplied value.
- create(Sender) - Static method in class zipkin2.reporter.AsyncReporter
-
Builds a json reporter for Zipkin V2.
D
- doCancel() - Method in class zipkin2.reporter.Call.Base
- doEnqueue(Callback<V>) - Method in class zipkin2.reporter.Call.Base
- doExecute() - Method in class zipkin2.reporter.Call.Base
- doIsCanceled() - Method in class zipkin2.reporter.Call.Base
E
- emptyList() - Static method in class zipkin2.reporter.Call
- encode(List<byte[]>) - Method in enum zipkin2.reporter.BytesMessageEncoder
-
Combines a list of encoded spans into an encoded list.
- encode(S) - Method in interface zipkin2.reporter.BytesEncoder
-
Serializes an object into its binary form.
- encoding() - Method in interface zipkin2.reporter.BytesEncoder
- encoding() - Method in class zipkin2.reporter.Sender
-
Returns the encoding this sender requires spans to have.
- Encoding - Enum in zipkin2.reporter
-
This includes the formats Zipkin server accepts.
- enqueue(Callback<V>) - Method in class zipkin2.reporter.Call.Base
- enqueue(Callback<V>) - Method in class zipkin2.reporter.Call
-
Invokes a request asynchronously, signaling the
callbackwhen complete. - error() - Method in class zipkin2.reporter.CheckResult
-
Present when not ok
- execute() - Method in class zipkin2.reporter.Call.Base
- execute() - Method in class zipkin2.reporter.Call
-
Invokes a request, returning a success value or propagating an error to the caller.
F
- failed(Throwable) - Static method in class zipkin2.reporter.CheckResult
- flatMap(Call.FlatMapper<V, R>) - Method in class zipkin2.reporter.Call
-
Maps the result of this call into another, as defined by the
flatMapperfunction. - flush() - Method in class zipkin2.reporter.AsyncReporter
-
Calling this will flush any pending spans to the transport on the current thread.
- forEncoding(Encoding) - Static method in enum zipkin2.reporter.BytesMessageEncoder
H
- handleError(Call.ErrorHandler<V>) - Method in class zipkin2.reporter.Call
-
Returns a call which can attempt to resolve an exception.
I
- incrementMessageBytes(int) - Method in class zipkin2.reporter.InMemoryReporterMetrics
- incrementMessageBytes(int) - Method in interface zipkin2.reporter.ReporterMetrics
-
Increments the number of bytes containing encoded spans in a message.
- incrementMessages() - Method in class zipkin2.reporter.InMemoryReporterMetrics
- incrementMessages() - Method in interface zipkin2.reporter.ReporterMetrics
-
Increments count of message attempts, which contain 1 or more spans.
- incrementMessagesDropped(Throwable) - Method in class zipkin2.reporter.InMemoryReporterMetrics
- incrementMessagesDropped(Throwable) - Method in interface zipkin2.reporter.ReporterMetrics
-
Increments count of messages that could not be sent.
- incrementSpanBytes(int) - Method in class zipkin2.reporter.InMemoryReporterMetrics
- incrementSpanBytes(int) - Method in interface zipkin2.reporter.ReporterMetrics
-
Increments the number of encoded span bytes reported.
- incrementSpans(int) - Method in class zipkin2.reporter.InMemoryReporterMetrics
- incrementSpans(int) - Method in interface zipkin2.reporter.ReporterMetrics
-
Increments the count of spans reported.
- incrementSpansDropped(int) - Method in class zipkin2.reporter.InMemoryReporterMetrics
- incrementSpansDropped(int) - Method in interface zipkin2.reporter.ReporterMetrics
-
Increments the count of spans dropped for any reason.
- InMemoryReporterMetrics - Class in zipkin2.reporter
- InMemoryReporterMetrics() - Constructor for class zipkin2.reporter.InMemoryReporterMetrics
- isCanceled() - Method in class zipkin2.reporter.Call.Base
- isCanceled() - Method in class zipkin2.reporter.Call
-
Returns true if Call.cancel() was called.
J
- JSON - zipkin2.reporter.BytesMessageEncoder
- JSON - zipkin2.reporter.Encoding
- JSON_V1 - zipkin2.reporter.SpanBytesEncoder
-
Corresponds to the Zipkin v1 json format
- JSON_V2 - zipkin2.reporter.SpanBytesEncoder
-
Corresponds to the Zipkin v2 json format
L
- listSizeInBytes(int) - Method in enum zipkin2.reporter.Encoding
-
Like
Encoding.listSizeInBytes(List), except for a single element. - listSizeInBytes(List<byte[]>) - Method in enum zipkin2.reporter.Encoding
M
- map(V1) - Method in interface zipkin2.reporter.Call.FlatMapper
- map(V1) - Method in interface zipkin2.reporter.Call.Mapper
- map(Call.Mapper<V, R>) - Method in class zipkin2.reporter.Call
-
Maps the result of this call into a different shape, as defined by the
mapperfunction. - messageBytes() - Method in class zipkin2.reporter.InMemoryReporterMetrics
- messageMaxBytes() - Method in class zipkin2.reporter.Sender
-
Maximum bytes sendable per message including overhead.
- messageMaxBytes(int) - Method in class zipkin2.reporter.AsyncReporter.Builder
-
Maximum bytes sendable per message including overhead.
- messages() - Method in class zipkin2.reporter.InMemoryReporterMetrics
- messagesDropped() - Method in class zipkin2.reporter.InMemoryReporterMetrics
- messagesDroppedByCause() - Method in class zipkin2.reporter.InMemoryReporterMetrics
- messageSizeInBytes(int) - Method in class zipkin2.reporter.Sender
-
Like
Sender.messageSizeInBytes(List), except for a single-span. - messageSizeInBytes(List<byte[]>) - Method in class zipkin2.reporter.Sender
-
Before invoking
Sender.sendSpans(List), callers must consider message overhead, which might be more than encoding overhead. - messageTimeout(long, TimeUnit) - Method in class zipkin2.reporter.AsyncReporter.Builder
-
Default 1 second.
- metrics(ReporterMetrics) - Method in class zipkin2.reporter.AsyncReporter.Builder
-
Aggregates and reports reporter metrics to a monitoring system.
N
- NOOP - Static variable in interface zipkin2.reporter.Reporter
- NOOP_METRICS - Static variable in interface zipkin2.reporter.ReporterMetrics
O
- ok() - Method in class zipkin2.reporter.CheckResult
- OK - Static variable in class zipkin2.reporter.CheckResult
- onError(Throwable) - Method in class zipkin2.reporter.AwaitableCallback
- onError(Throwable) - Method in interface zipkin2.reporter.Callback
-
Invoked when computation produces a possibly null value successfully.
- onErrorReturn(Throwable, Callback<V>) - Method in interface zipkin2.reporter.Call.ErrorHandler
-
Attempts to resolve an error.
- onSuccess(Void) - Method in class zipkin2.reporter.AwaitableCallback
- onSuccess(V) - Method in interface zipkin2.reporter.Callback
-
Invoked when computation produces its potentially null value successfully.
P
- propagateIfFatal(Throwable) - Static method in class zipkin2.reporter.Call
- PROTO3 - zipkin2.reporter.BytesMessageEncoder
-
This function simply concatenates the byte arrays.
- PROTO3 - zipkin2.reporter.Encoding
-
Repeated (type 2) fields are length-prefixed.
- PROTO3 - zipkin2.reporter.SpanBytesEncoder
Q
- queuedBytes() - Method in class zipkin2.reporter.InMemoryReporterMetrics
- queuedMaxBytes(int) - Method in class zipkin2.reporter.AsyncReporter.Builder
-
Maximum backlog of span bytes reported vs sent.
- queuedMaxSpans(int) - Method in class zipkin2.reporter.AsyncReporter.Builder
-
Maximum backlog of spans reported vs sent.
- queuedSpans() - Method in class zipkin2.reporter.InMemoryReporterMetrics
R
- report(S) - Method in class zipkin2.reporter.AsyncReporter
- report(S) - Method in interface zipkin2.reporter.Reporter
-
Schedules the span to be sent onto the transport.
- Reporter<S> - Interface in zipkin2.reporter
-
Spans are created in instrumentation, transported out-of-band, and eventually persisted.
- ReporterMetrics - Interface in zipkin2.reporter
-
Instrumented applications report spans over a transport such as Kafka to Zipkin Collectors.
S
- Sender - Class in zipkin2.reporter
-
Sends a list of encoded spans to a transport such as http or Kafka.
- Sender() - Constructor for class zipkin2.reporter.Sender
- sendSpans(List<byte[]>) - Method in class zipkin2.reporter.Sender
-
Sends a list of encoded spans to a transport such as http or Kafka.
- sizeInBytes(S) - Method in interface zipkin2.reporter.BytesEncoder
- spanBytes() - Method in class zipkin2.reporter.InMemoryReporterMetrics
- SpanBytesEncoder - Enum in zipkin2.reporter
-
Includes built-in formats used in Zipkin.
- spans() - Method in class zipkin2.reporter.InMemoryReporterMetrics
- spansDropped() - Method in class zipkin2.reporter.InMemoryReporterMetrics
T
- threadFactory(ThreadFactory) - Method in class zipkin2.reporter.AsyncReporter.Builder
-
Launches the flush thread when
AsyncReporter.Builder.messageTimeout(long, java.util.concurrent.TimeUnit)is greater than zero. - THRIFT - zipkin2.reporter.BytesMessageEncoder
-
Deprecated.this format is deprecated in favor of json or proto3
- THRIFT - zipkin2.reporter.Encoding
-
Deprecated.this format is deprecated in favor of json or proto3
- THRIFT - zipkin2.reporter.SpanBytesEncoder
-
Corresponds to the Zipkin v1 thrift format
- toString() - Method in class zipkin2.reporter.AsyncReporter
- toString() - Method in class zipkin2.reporter.CheckResult
U
- updateQueuedBytes(int) - Method in class zipkin2.reporter.InMemoryReporterMetrics
- updateQueuedBytes(int) - Method in interface zipkin2.reporter.ReporterMetrics
-
Updates the count of encoded span bytes pending, following a flush activity.
- updateQueuedSpans(int) - Method in class zipkin2.reporter.InMemoryReporterMetrics
- updateQueuedSpans(int) - Method in interface zipkin2.reporter.ReporterMetrics
-
Updates the count of spans pending, following a flush activity.
V
- valueOf(String) - Static method in enum zipkin2.reporter.BytesMessageEncoder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum zipkin2.reporter.Encoding
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum zipkin2.reporter.SpanBytesEncoder
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum zipkin2.reporter.BytesMessageEncoder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum zipkin2.reporter.Encoding
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum zipkin2.reporter.SpanBytesEncoder
-
Returns an array containing the constants of this enum type, in the order they are declared.
Z
- zipkin2.reporter - package zipkin2.reporter
All Classes All Packages