Crate st2_logformat

Source
Expand description

Data structure for a LogRecord, Pair two-dimensional time type. A LogRecord constitutes the unified struct representation of log messages from various stream processors. It is the underlying structure from which the PAG construction starts.

Modules§

pair
This module contains a definition of a new timestamp time, a “pair” or product.

Structs§

LogRecord
A LogRecord constitutes the unified struct representation of log messages from various stream processors.

Enums§

ActivityType
The various types of activity that can happen in a dataflow. Unknown et al. shouldn’t be emitted by instrumentation. Instead, they might be inserted as helpers during PAG construction.
EventType
What “side” of the event did we log? E.g., for scheduling events, it might be the start or end of the event; for messages, we might log the sender or receiver.

Type Aliases§

ChannelId
A worker-local channel ID
CorrelatorId
Type used as identifiers for (mapping between) two event sides
OperatorId
A worker-local operator ID
Timestamp
An event timestamp
Worker
A worker ID