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
  • Method Details

    • encoding

      public zipkin2.codec.Encoding encoding()
      Specified by:
      encoding in class zipkin2.reporter.Sender
    • messageMaxBytes

      public int messageMaxBytes()
      Specified by:
      messageMaxBytes in class zipkin2.reporter.Sender
    • messageSizeInBytes

      public int messageSizeInBytes(List<byte[]> encodedSpans)
      Specified by:
      messageSizeInBytes in class zipkin2.reporter.Sender
    • sendSpans

      public zipkin2.Call<Void> sendSpans(List<byte[]> encodedSpans)
      Specified by:
      sendSpans in class zipkin2.reporter.Sender
    • check

      public zipkin2.CheckResult check()
      Overrides:
      check in class zipkin2.Component
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class zipkin2.Component