A somewhat flexible schema representing various event types.
Where runtime events such as logging, stats and tracing can be sent to allow for analysis.
Where runtime events such as logging, stats and tracing can be sent to allow for analysis.
Note: while the API is public it should be considered as experimental and subject to changes.
event
is expected to be called many orders of magnitude
more frequently than events
.
An in-memory circular buffer of events.
An in-memory circular buffer of events. When capacity
is reached,
new writes via event
do not block, rather they overwrite the
oldest event.
This class is thread-safe and effort is taken to
keep object allocations from calls to event
to a minimum.
Note: There is a Java-friendly API for this object: com.twitter.util.events.Events.
Note: There is a Java-friendly API for this object: com.twitter.util.events.Sinks.
A somewhat flexible schema representing various event types.
when the event happened.
should be
Event.NoLong
if there is no supplied value.should be
Event.NoObject
if there is no supplied value.should be
Event.NoDouble
if there is no supplied value.should be
Event.NoTraceId
if there is no supplied value.should be
Event.NoSpanId
if there is no supplied value.