CrossSectionalEngineStat#

class swordfish._swordfishcpp.CrossSectionalEngineStat#
user: str#

Name of the user who created the streaming engine.

status: Literal['OK', 'FATAL']#

Status of the streaming engine. “OK” means available; “FATAL” means unavailable.

last_err_msg: str#

The latest error message from the engine.

num_rows: int#

The number of records that has entered the streaming engine.

num_metrics: int#

The number of metrics calculated by the streaming engine.

metrics: str#

The metacode of the metrics calculated by the streaming engine.

triggering_pattern: str#

How calculations are triggered in the engine.

triggering_interval: int#

The duration in milliseconds between 2 adjacent calculations.

snapshot_dir: str#

The directory where engine snapshots are saved.

snapshot_interval: int#

The interval at which to save snapshots.

snapshot_msg_id: int#

The message ID of the engine snapshot.

snapshot_timestamp: Timestamp#

The timestamp when the snapshot was created.

memory_used: int#

The amount of memory currently used by the engine (in bytes).