Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIncident ¶
func CreateIncidentFromFinding ¶ added in v1.4.0
CreateIncidentFromFinding maps an AI SRE finding into the standard content map and delegates to CreateIncident so all existing channels (Slack, Telegram, MS Teams, Lark, Email, Viber) and the on-call workflow trigger with no per-channel changes.
Source identifies the agent + signal source (e.g. "agent:elasticsearch:prod-app"). Service is the operator-facing service name extracted from the log pattern; "_unknown" when no service_pattern matched.
All keys added here are stable and additive — existing template files keep working unchanged. Operators who want to surface AI-specific detail can reference {{ .Summary }}, {{ .Suggestions }}, {{ .Confidence }}, {{ .PatternID }}, {{ .Verdict }}.
func SetStorage ¶ added in v1.3.9
SetStorage installs the storage provider used to persist incidents and record acks. Called once from main after config load.
Types ¶
This section is empty.