Class HttpClientSender
java.lang.Object
zipkin2.Component
zipkin2.reporter.Sender
io.micronaut.tracing.zipkin.http.client.HttpClientSender
- All Implemented Interfaces:
Closeable
,AutoCloseable
public final class HttpClientSender
extends zipkin2.reporter.Sender
A
Sender
implementation that uses Micronaut's HttpClient
.- Since:
- 1.0
- Author:
- graemerocher
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Constructs theHttpClientSender
. -
Method Summary
Methods inherited from class zipkin2.reporter.Sender
messageSizeInBytes
-
Method Details
-
encoding
public zipkin2.codec.Encoding encoding()- Specified by:
encoding
in classzipkin2.reporter.Sender
-
messageMaxBytes
public int messageMaxBytes()- Specified by:
messageMaxBytes
in classzipkin2.reporter.Sender
-
messageSizeInBytes
- Specified by:
messageSizeInBytes
in classzipkin2.reporter.Sender
-
sendSpans
- Specified by:
sendSpans
in classzipkin2.reporter.Sender
-
check
public zipkin2.CheckResult check()- Overrides:
check
in classzipkin2.Component
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classzipkin2.Component
-