Package zipkin2.reporter
-
Interface Summary Interface Description BytesEncoder<S> Utility for encoding one or more elements of a type into a byte array.BytesMessageSender Sends a list of encoded spans to a transport such as HTTP or Kafka.Call.ErrorHandler<V> Call.FlatMapper<V1,V2> Call.Mapper<V1,V2> Callback<V> A callback of a single result or error.HttpEndpointSupplier HTTP-basedsenders, such as BaseHttpSender use this to get the endpoint to POST spans to.HttpEndpointSupplier.Constant HTTPsenderscheck for this type, and will cache its first value.HttpEndpointSupplier.Factory Factory passed to HTTPsenderbuilders to control resolution of the static endpoint from configuration.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 Deprecated. since 3.2 this is no longer used.BaseHttpSender<U,B> Reports spans to Zipkin, using its POST endpoint.BytesMessageSender.Base Base class for implementation, which implementsBytesMessageSender.Base.messageSizeInBytes(List)andBytesMessageSender.Base.messageSizeInBytes(List)with a given EncodingCall<V> Deprecated. since 3.2 this is no longer used.Call.Base<V> Deprecated. since 3.2 this is no longer used.CheckResult Answers the question: Are operations on this component likely to succeed?Component Deprecated. since 3.2 this is no longer used.HttpEndpointSuppliers Built-inHttpEndpointSupplierimplementations.InMemoryReporterMetrics Sender Deprecated. since 3.2, useBytesMessageSenderinstead. -
Enum Summary Enum Description BytesMessageEncoder Deprecated. As of 3.3, use Encoding.encode(List).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 aBytesMessageSenderis used after it has been closed.