Skip to content

brokkr-models::models::agent_k8s_events

Rust

Persisted kube Events for objects an agent manages.

Short-lived operational buffer with a hard 6-hour retention ceiling enforced by the broker’s eviction worker (see brokkr-broker). See [[BROKKR-I-0019]] and project_log_retention_stance.

pub

Derives: Queryable, Selectable, Identifiable, Debug, Clone, Serialize, Deserialize, ToSchema

Name Type Description
id Uuid
agent_id Uuid
stack_id Uuid
observed_at DateTime<Utc>
reason String
message String
event_type String
source Option<String>
involved_object serde_json::Value
created_at DateTime<Utc>

pub

Derives: Insertable, Debug, Clone, Serialize, Deserialize

Name Type Description
agent_id Uuid
stack_id Uuid
observed_at DateTime<Utc>
reason String
message String
event_type String
source Option<String>
involved_object serde_json::Value