pub struct GroupStateInfo {Show 21 fields
pub correlation_index: usize,
pub correlation_id: Option<String>,
pub correlation_name: Option<String>,
pub correlation_title: String,
pub correlation_type: CorrelationType,
pub group_key: Vec<GroupKeyPart>,
pub group_key_display: String,
pub got: Option<f64>,
pub threshold: String,
pub met: bool,
pub entries: usize,
pub earliest: Option<i64>,
pub latest: Option<i64>,
pub timespan_secs: u64,
pub seconds_to_eviction: Option<i64>,
pub last_alert: Option<i64>,
pub suppress_secs: Option<u64>,
pub suppression_remaining: Option<i64>,
pub window: WindowState,
pub ruleset: Option<String>,
pub tenant: Option<TenantId>,
}Expand description
Live state of one (correlation, group_key) window.
Fields§
§correlation_index: usize§correlation_id: Option<String>§correlation_name: Option<String>§correlation_title: String§correlation_type: CorrelationType§group_key: Vec<GroupKeyPart>The resolved group key, field by field.
group_key_display: StringA flat field=value rendering of the group key for display and
substring filtering.
got: Option<f64>The current aggregate (count / sum / avg / distinct / fired-rule count).
threshold: StringThe threshold predicates rendered for display.
met: boolWhether the threshold condition is currently satisfied.
entries: usizeNumber of retained entries in the window.
earliest: Option<i64>§latest: Option<i64>§timespan_secs: u64§seconds_to_eviction: Option<i64>Seconds until the oldest entry leaves the window, relative to the
latest observed event time (earliest + timespan - latest, clamped at
zero).
last_alert: Option<i64>§suppress_secs: Option<u64>§suppression_remaining: Option<i64>Seconds remaining in the suppression window after the last alert, relative to the latest observed event time.
window: WindowStateThe raw window state (timestamps / values), serialized as-is.
ruleset: Option<String>Ruleset that owns this window, set when rows from several rulesets
share one list. RulesetEngines::introspect keys its map by ruleset
and leaves this None.
tenant: Option<TenantId>Tenant that owns this window, when tenancy is enabled.