feat(go): persist Python-compatible incidents
This commit is contained in:
parent
f85c2e831a
commit
538d1d954a
13 changed files with 555 additions and 46 deletions
|
|
@ -91,8 +91,11 @@ Alert events are additionally retained as private
|
|||
Same-second events are merged into one snapshot, required
|
||||
`enodia.alert.snapshot.v1` fields are preserved, and the shared
|
||||
`max_snapshots` / `max_snapshot_age_days` settings bound retention. The current
|
||||
Go enrichment block is intentionally minimal; Python remains authoritative for
|
||||
incident grouping, rich enrichment, assurance chaining, and notifications.
|
||||
sidecar also writes a private atomic `incidents.json` with the required
|
||||
`enodia.incident.v1` fields, process-lineage/time-window grouping, and additive
|
||||
correlation evidence. The Go enrichment block is intentionally minimal; Python
|
||||
remains authoritative for rich enrichment, assurance chaining, notifications,
|
||||
and management consumers.
|
||||
|
||||
Each successful sweep atomically refreshes
|
||||
`/var/lib/enodia-sentinel-go/heartbeat` as a Unix timestamp with mode `0600`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue