Interface InMemorySpanEventListener

All Known Implementing Classes:
ZipkinPublisher

public interface InMemorySpanEventListener
Listener for tracing events.
  • Method Details

    • onSpanStarted

      void onSpanStarted(InMemorySpan span)
      Called when a span has started.
      Parameters:
      span - the span
    • onEventLogged

      void onEventLogged(InMemorySpan span, long epochMicros, String eventName)
      Called when an event was logged.
      Parameters:
      span - the span the event was associated with
      epochMicros - timestamp epoch in microseconds
      eventName - event name
    • onEventLogged

      void onEventLogged(InMemorySpan span, long epochMicros, Map<String,?> fields)
      Called when an event was logged.
      Parameters:
      span - the span the event was associated with
      epochMicros - timestamp epoch in microseconds
      fields - fields as a map
    • onSpanFinished

      void onSpanFinished(InMemorySpan span, long durationMicros)
      Called when a span has finished.
      Parameters:
      span - the span
      durationMicros - duration in microseconds