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(List<byte[]> encodedSpans) |
zipkin2.Call<Void> |
sendSpans(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(List<byte[]> encodedSpans)
messageSizeInBytes
in class zipkin2.reporter.Sender
public zipkin2.Call<Void> sendSpans(List<byte[]> encodedSpans)
sendSpans
in class zipkin2.reporter.Sender
public zipkin2.CheckResult check()
check
in class zipkin2.Component
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class zipkin2.Component