Package zipkin2.reporter
-
Interface Summary Interface Description BytesEncoder<S> Utility for encoding one or more elements of a type into a byte array.Call.ErrorHandler<V> Call.FlatMapper<V1,V2> Call.Mapper<V1,V2> Callback<V> A callback of a single result or error.Reporter<S> Spans are created in instrumentation, transported out-of-band, and eventually persisted.ReporterMetrics Instrumented applications report spans over a transport such as Kafka to Zipkin Collectors. -
Class Summary Class Description AsyncReporter<S> As spans are reported, they are encoded and added to a pending queue.AsyncReporter.Builder AwaitableCallback Blocks untilCallback.onSuccess(Object)orCallback.onError(Throwable).Call<V> This captures a (usually remote) request and can be used once, eithersynchronouslyorasynchronously.Call.Base<V> CheckResult Answers the question: Are operations on this component likely to succeed?Component Components are object graphs used to compose a zipkin service or client.InMemoryReporterMetrics Sender Sends a list of encoded spans to a transport such as http or Kafka. -
Enum Summary Enum Description BytesMessageEncoder Senders like Kafka use byte[] message encoding.Encoding This includes the formats Zipkin server accepts.SpanBytesEncoder Includes built-in formats used in Zipkin. -
Exception Summary Exception Description ClosedSenderException An exception thrown when aSenderis used after it has been closed.