Package com.variant.server.spi
Interface TraceEvent
public interface TraceEvent
A Variant trace event, that can be triggered either explicitly or is created and triggered implicitly by Variant Server.
Explicit trace events are triggered by Session.triggerEvent(TraceEvent)
.
Trace events are processed automatically enriched by Variant Server with pertinent experiment related information, such as the current state and the list of live experiences the session is traversing in the current state, before being passed to the configured event flusher.
- Since:
- 0.10
-
Method Summary
Modifier and TypeMethodDescriptionAn immutable map of event attributes.getName()
The name of the event.static TraceEvent
static TraceEvent
-
Method Details
-
of
-
of
-
getName
String getName()The name of the event.- Since:
- 0.10
-
getAttributes
An immutable map of event attributes.- Returns:
- An immutable map of event attributes.
- Since:
- 0.10
-