Class HttpClientSender
- java.lang.Object
-
- zipkin2.Component
-
- zipkin2.reporter.Sender
-
- io.micronaut.tracing.brave.sender.HttpClientSender
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public final class HttpClientSender extends zipkin2.reporter.SenderASenderimplementation that uses Micronaut'sHttpClient.- Since:
- 1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpClientSender.BuilderConstructs theHttpClientSender.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description zipkin2.CheckResultcheck()voidclose()zipkin2.codec.Encodingencoding()intmessageMaxBytes()intmessageSizeInBytes(java.util.List<byte[]> encodedSpans)zipkin2.Call<java.lang.Void>sendSpans(java.util.List<byte[]> encodedSpans)
-
-
-
Method Detail
-
encoding
public zipkin2.codec.Encoding encoding()
- Specified by:
encodingin classzipkin2.reporter.Sender
-
messageMaxBytes
public int messageMaxBytes()
- Specified by:
messageMaxBytesin classzipkin2.reporter.Sender
-
messageSizeInBytes
public int messageSizeInBytes(java.util.List<byte[]> encodedSpans)
- Specified by:
messageSizeInBytesin classzipkin2.reporter.Sender
-
sendSpans
public zipkin2.Call<java.lang.Void> sendSpans(java.util.List<byte[]> encodedSpans)
- Specified by:
sendSpansin classzipkin2.reporter.Sender
-
check
public zipkin2.CheckResult check()
- Overrides:
checkin classzipkin2.Component
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classzipkin2.Component
-
-