StateMetrics

@Serializable
data class StateMetrics(val transitions: Long, val transitionsVetoed: Long, val startedInInitialState: Boolean, val timeToFirstState: Duration?, val updateAvg: Duration, val updateP50: Duration, val updateP90: Duration, val updateP95: Duration, val updateP99: Duration, val opsPerSecond: Double)

Aggregated metrics for state updates.

Constructors

Link copied to clipboard
constructor(transitions: Long, transitionsVetoed: Long, startedInInitialState: Boolean, timeToFirstState: Duration?, updateAvg: Duration, updateP50: Duration, updateP90: Duration, updateP95: Duration, updateP99: Duration, opsPerSecond: Double)

Properties

Link copied to clipboard

State transition throughput over the sampling window.

Link copied to clipboard

Whether the current run started in the configured initial state.

Link copied to clipboard

Time to first non-initial state transition in the current run (if applicable).

Link copied to clipboard

Total state transitions attempted.

Link copied to clipboard

State transitions vetoed or rolled back.

Link copied to clipboard

Average reducer or state update duration.

Link copied to clipboard

Median reducer or state update duration.

Link copied to clipboard

90th percentile reducer or state update duration.

Link copied to clipboard

95th percentile reducer or state update duration.

Link copied to clipboard

99th percentile reducer or state update duration.