public final class HttpClientSender
extends zipkin2.reporter.Sender
Sender
implementation that uses Micronaut's HttpClient
.Modifier and Type | Class and Description |
---|---|
static class |
HttpClientSender.Builder
Constructs the
HttpClientSender . |
Modifier and Type | Method and Description |
---|---|
zipkin2.CheckResult |
check() |
void |
close() |
zipkin2.codec.Encoding |
encoding() |
int |
messageMaxBytes() |
int |
messageSizeInBytes(java.util.List<byte[]> encodedSpans) |
zipkin2.Call<java.lang.Void> |
sendSpans(java.util.List<byte[]> encodedSpans) |
public zipkin2.codec.Encoding encoding()
encoding
in class zipkin2.reporter.Sender
public int messageMaxBytes()
messageMaxBytes
in class zipkin2.reporter.Sender
public int messageSizeInBytes(java.util.List<byte[]> encodedSpans)
messageSizeInBytes
in class zipkin2.reporter.Sender
public zipkin2.Call<java.lang.Void> sendSpans(java.util.List<byte[]> encodedSpans)
sendSpans
in class zipkin2.reporter.Sender
public zipkin2.CheckResult check()
check
in class zipkin2.Component
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class zipkin2.Component