public interface InMemorySpanEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
onEventLogged(InMemorySpan span,
long epochMicros,
java.util.Map<java.lang.String,?> fields)
Called when an event was logged.
|
void |
onEventLogged(InMemorySpan span,
long epochMicros,
java.lang.String eventName)
Called when an event was logged.
|
void |
onSpanFinished(InMemorySpan span,
long durationMicros)
Called when a span has finished.
|
void |
onSpanStarted(InMemorySpan span)
Called when a span has started.
|
void onSpanStarted(InMemorySpan span)
span - the spanvoid onEventLogged(InMemorySpan span, long epochMicros, java.lang.String eventName)
span - the span the event was associated withepochMicros - timestamp epoch in microsecondseventName - event namevoid onEventLogged(InMemorySpan span, long epochMicros, java.util.Map<java.lang.String,?> fields)
span - the span the event was associated withepochMicros - timestamp epoch in microsecondsfields - fields as a mapvoid onSpanFinished(InMemorySpan span, long durationMicros)
span - the spandurationMicros - duration in microseconds