Scoria.SRE (scoria v0.1.0)

Copy Markdown View Source

Public Phase 7 context boundary for runtime governance, alerts, incidents, and audit export.

Later Seismograph plans can fill in persistence and runtime enforcement behind these entrypoints without widening the rest of the codebase's call sites.

Summary

Types

attrs()

@type attrs() :: map()

Functions

alert_sink()

append_incident_event(incident, attrs)

audit_sink()

create_audit_outbox_event(envelope)

create_budget_policy(attrs)

delete_budget_policy(policy)

deliver_notification(target, envelope)

emit_audit_outbox_telemetry(audit_outbox_event)

get_alert_event!(id)

get_budget_policy!(id)

get_incident!(id)

get_incident_event!(id)

insert_audit_outbox_event(repo, envelope)

list_alert_events(incident_id)

list_budget_policies()

list_incident_events(incident_id)

open_incident(attrs)

reconcile_usage(reservation, attrs)

record_alert_event(envelope)

record_breaker_trip(attrs)

release_usage(reservation, attrs \\ %{})

remote_invocation_evidence(run_id)

reserve_usage(attrs)

update_budget_policy(policy, attrs)