Skip to content

brokkr-models::models::agent_pod_logs

Rust

Persisted pod log lines for managed workloads.

Bounded by the 6h retention ceiling (project_log_retention_stance). Per-stack opt-in is enforced agent-side (WS-08); the broker accepts whatever the agent streams and the eviction worker keeps growth bounded.

pub

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

Name Type Description
id Uuid
agent_id Uuid
stack_id Option<Uuid> The stack the row belongs to. No value: it belongs to a work order.
namespace String
pod String
container String
ts DateTime<Utc>
line String
created_at DateTime<Utc>
work_order_id Option<Uuid> The work order the row belongs to. No value: it belongs to a stack. Exactly one of stack_id and work_order_id has a value (BROKKR-T-0405).

pub

Derives: Insertable, Debug, Clone, Serialize, Deserialize

Name Type Description
agent_id Uuid
stack_id Option<Uuid>
work_order_id Option<Uuid>
namespace String
pod String
container String
ts DateTime<Utc>
line String