Interface SpanMetrics


public interface SpanMetrics
Reports metrics from WavefrontSpanHandler.
Since:
1.0.0
  • Field Details

    • NOOP

      static final SpanMetrics NOOP
      No-op implementation.
  • Method Details

    • reportDropped

      void reportDropped()
      Is called when a span has been dropped.
    • reportReceived

      void reportReceived()
      Is called when a span is received.
    • reportErrors

      void reportErrors()
      Is called when a span couldn't be sent.
    • registerQueueSize

      void registerQueueSize(BlockingQueue<?> queue)
      Registers the size of the given queue.
      Parameters:
      queue - queue which size should be registered
    • registerQueueRemainingCapacity

      void registerQueueRemainingCapacity(BlockingQueue<?> queue)
      Registers the remaining capacity of the given queue.
      Parameters:
      queue - queue which remaining capacity should be registered