Class XRayUDPReporter

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, zipkin2.reporter.Reporter<zipkin2.Span>

    public class XRayUDPReporter
    extends java.lang.Object
    implements zipkin2.reporter.Reporter<zipkin2.Span>, java.io.Closeable
    • Field Summary

      • Fields inherited from interface zipkin2.reporter.Reporter

        CONSOLE, NOOP
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      static zipkin2.reporter.Reporter<zipkin2.Span> create()
      Creates a reporter defaulting to the env variable "AWS_XRAY_DAEMON_ADDRESS" or "localhost:2000"
      static zipkin2.reporter.Reporter<zipkin2.Span> create​(java.lang.String address)  
      void report​(zipkin2.Span span)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • create

        public static zipkin2.reporter.Reporter<zipkin2.Span> create()
        Creates a reporter defaulting to the env variable "AWS_XRAY_DAEMON_ADDRESS" or "localhost:2000"
      • create

        public static zipkin2.reporter.Reporter<zipkin2.Span> create​(java.lang.String address)
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • report

        public void report​(zipkin2.Span span)
        Specified by:
        report in interface zipkin2.reporter.Reporter<zipkin2.Span>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object