Interface InMemorySpanEventListener
- All Known Implementing Classes:
ZipkinPublisher
public interface InMemorySpanEventListener
Listener for tracing events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonEventLogged(InMemorySpan span, long epochMicros, String eventName) Called when an event was logged.voidonEventLogged(InMemorySpan span, long epochMicros, Map<String, ?> fields) Called when an event was logged.voidonSpanFinished(InMemorySpan span, long durationMicros) Called when a span has finished.voidonSpanStarted(InMemorySpan span) Called when a span has started.
-
Method Details
-
onSpanStarted
Called when a span has started.- Parameters:
span- the span
-
onEventLogged
Called when an event was logged.- Parameters:
span- the span the event was associated withepochMicros- timestamp epoch in microsecondseventName- event name
-
onEventLogged
Called when an event was logged.- Parameters:
span- the span the event was associated withepochMicros- timestamp epoch in microsecondsfields- fields as a map
-
onSpanFinished
Called when a span has finished.- Parameters:
span- the spandurationMicros- duration in microseconds
-