A B C E F I J M N O P Q R S T U V Z 
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() - Constructor for class zipkin2.reporter.AsyncReporter
 
AsyncReporter.Builder - Class in zipkin2.reporter
 
await() - Method in class zipkin2.reporter.AwaitableCallback
Blocks until Callback.onSuccess(Object) or Callback.onError(Throwable).
AwaitableCallback - Class in zipkin2.reporter
Blocks until Callback.onSuccess(Object) or Callback.onError(Throwable).
AwaitableCallback() - Constructor for class zipkin2.reporter.AwaitableCallback
 

B

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.
BytesMessageEncoder - Enum in zipkin2.reporter
Senders like Kafka use byte[] message encoding.

C

clear() - Method in class zipkin2.reporter.InMemoryReporterMetrics
 
close() - Method in class zipkin2.reporter.AsyncReporter
Shuts down the sender thread, and increments drop metrics if there were any unsent spans.
ClosedSenderException - Exception in zipkin2.reporter
An exception thrown when a Sender is 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.
CONSOLE - Static variable in interface zipkin2.reporter.Reporter
 
create(Sender) - Static method in class zipkin2.reporter.AsyncReporter
Builds a json reporter for Zipkin V2.

E

encode(List<byte[]>) - Method in enum zipkin2.reporter.BytesMessageEncoder
Combines a list of encoded spans into an encoded list.
encoding() - Method in class zipkin2.reporter.Sender
Returns the encoding this sender requires spans to have.

F

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
 

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
 

J

JSON - zipkin2.reporter.BytesMessageEncoder
 

M

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

onError(Throwable) - Method in class zipkin2.reporter.AwaitableCallback
 
onSuccess(Void) - Method in class zipkin2.reporter.AwaitableCallback
 

P

PROTO3 - zipkin2.reporter.BytesMessageEncoder
This function simply concatenates the byte arrays.

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 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.
spanBytes() - Method in class zipkin2.reporter.InMemoryReporterMetrics
 
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.messageTimeoutNanos is greater than zero.
THRIFT - zipkin2.reporter.BytesMessageEncoder
Deprecated.
this format is deprecated in favor of json or proto3

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.
values() - Static method in enum zipkin2.reporter.BytesMessageEncoder
Returns an array containing the constants of this enum type, in the order they are declared.

Z

zipkin2.reporter - package zipkin2.reporter
 
A B C E F I J M N O P Q R S T U V Z 
All Classes All Packages