Class CustomizingUdpSender

  • All Implemented Interfaces:
    io.jaegertracing.spi.Sender

    public class CustomizingUdpSender
    extends ThriftSender
    Implementation of UdpSender that works in conjunction with the ThriftSender and can embellish a span before emitting it.
    • Constructor Detail

      • CustomizingUdpSender

        public CustomizingUdpSender()
        This constructor expects Jaeger running running on "localhost" and port 6831
    • Method Detail

      • append

        public int append​(io.jaegertracing.internal.JaegerSpan span)
                   throws io.jaegertracing.internal.exceptions.SenderException
        Specified by:
        append in interface io.jaegertracing.spi.Sender
        Overrides:
        append in class ThriftSender
        Throws:
        io.jaegertracing.internal.exceptions.SenderException
      • send

        public void send​(io.jaegertracing.thriftjava.Process process,
                         List<io.jaegertracing.thriftjava.Span> spans)
                  throws io.jaegertracing.internal.exceptions.SenderException
        Specified by:
        send in class ThriftSender
        Throws:
        io.jaegertracing.internal.exceptions.SenderException
      • close

        public int close()
                  throws io.jaegertracing.internal.exceptions.SenderException
        Specified by:
        close in interface io.jaegertracing.spi.Sender
        Overrides:
        close in class ThriftSender
        Throws:
        io.jaegertracing.internal.exceptions.SenderException