Struct Metrics
pub struct Metrics {Show 36 fields
pub records: u64,
pub log_bytes: u64,
pub flushes: u64,
pub inline_flushes: u64,
pub flushed_records: u64,
pub flush_us_total: u64,
pub steps_run: u64,
pub steps_replayed: u64,
pub runs_started: u64,
pub runs_finished: u64,
pub runs_parked: u64,
pub parked_entries: u64,
pub run_table_bytes: u64,
pub loaded_bytes: u64,
pub open_store_frames: u64,
pub open_store_bytes: u64,
pub open_us: u64,
pub budget_parks: u64,
pub object_compactions: u64,
pub journal_frames_read: u64,
pub journal_bytes_read: u64,
pub runs_loaded: u64,
pub checkpoints: u64,
pub index_bases_built: u64,
pub determinism_errors: u64,
pub busy: u64,
pub gate_waits: u64,
pub gate_wait_us_total: u64,
pub stalls: u64,
pub max_tick_us: u64,
pub max_flush_us: u64,
pub volatile_timers: u64,
pub log_writes: u64,
pub log_device_bytes: u64,
pub log_rolls: u64,
pub log_owner: u64,
}Expand description
Counters, per shard. Cheap to copy; exported by the engine.
Fields§
§records: u64§log_bytes: u64§flushes: u64§inline_flushes: u64§flushed_records: u64§flush_us_total: u64§steps_run: u64§steps_replayed: u64§runs_started: u64§runs_finished: u64§runs_parked: u64Number of times a live workflow was parked since opening the engine.
parked_entries: u64Current run-store index entries, including completed entries retained on disk.
run_table_bytes: u64Heap bytes of the run table (every run’s entry and its indexes).
loaded_bytes: u64Bytes of run state held in memory by loaded runs (an estimate; see
[RuntimeConfig::memory_budget]).
open_store_frames: u64The last open: run store frames and bytes it read (the persisted index, or every frame of the store prefix when it had none), and how long it took.
open_store_bytes: u64§open_us: u64§budget_parks: u64Runs parked early because loaded state exceeded the memory budget.
object_compactions: u64Keys of object types continued as new with a snapshot of their
state (see crate::object).
journal_frames_read: u64Run store frames read to rebuild journals (a parked run’s newest
frame and the Delta frames it extends), and their bytes.
journal_bytes_read: u64§runs_loaded: u64§checkpoints: u64§index_bases_built: u64Index bases written a frame at a time between checkpoints and then
named by one (see [Inner::write_index]).
determinism_errors: u64§busy: u64§gate_waits: u64§gate_wait_us_total: u64§stalls: u64Ticks and flushes over the stall threshold (see [Stall]).
max_tick_us: u64Longest tick and flush seen while stall tracing is on.
max_flush_us: u64§volatile_timers: u64Current volatile timers (step timeouts, heartbeat timeouts, retry backoff), including cancelled ones the timer heap still holds.
log_writes: u64The shared log’s writes to its device, the bytes they put there
(headers and padding included; against log_bytes, the records’),
and its segment rolls, since it opened. One shard of a log reports
them, so a sum over shards counts each once.
log_device_bytes: u64§log_rolls: u64§log_owner: u641 when the shared log’s owner thread writes (Linux, io_uring).