Class CollectorComponent

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public abstract class CollectorComponent
    extends Component
    The collector represents the server-side of a transport. Its job is to take spans from a transport and store ones it has sampled.

    Call start() to start collecting spans.

    • Constructor Detail

      • CollectorComponent

        public CollectorComponent()
    • Method Detail

      • start

        public abstract CollectorComponent start()
        Starts the server-side of the transport, typically listening or looking up a queue.

        Many implementations block the calling thread until services are available.