Skip to content

feat(incidents): add Demeter incident report generator - #76

Merged
tripura-repalle merged 5 commits into
mainfrom
feat/demeter-incident-report
Sep 24, 2026
Merged

tripura-repalle merged 5 commits into
mainfrom
feat/demeter-incident-report

Conversation

@tripura-repalle

Copy link
Copy Markdown
Contributor

Reconstruct Demeter incidents from Grafana alert state-change annotations (the only source retaining history past the 45-day in-cluster Prometheus window) and maintain a durable, deduplicated log under docs/incidents/.

  • scripts/incident_report.py: ad-hoc or scheduled report generator
  • .github/workflows/incident-report.yml: weekly + on-demand run that commits the refreshed log back to the repo
  • docs/incidents/: canonical CSV store + Markdown snapshot

@tripura-repalle tripura-repalle changed the title feat(incidents): add Demeter incident report generator WIP - feat(incidents): add Demeter incident report generator Sep 18, 2026
Reconstructs recent incidents from Grafana alert state history,
classifies customer-visible vs AZ-redundant impact, filters
infrastructure-only noise, and delivers a zipped report and CSV
to the on-call channel on a schedule.

Signed-off-by: Tripura Repalle <tripura@blinklabs.io>
@tripura-repalle
tripura-repalle force-pushed the feat/demeter-incident-report branch from 926907e to ab96d61 Compare September 18, 2026 19:29
Split each service into mainnet/preprod/preview buckets so a testnet
outage no longer reads as a whole-service outage, and attribute
network-agnostic proxy incidents to every network. Report degraded
time as union wall-clock (overlapping pods and AZs merged) instead of
summing per-pod alerts, which overstated network-wide events severalfold.
Fold service-name casing so one workload isn't split across rows.

Signed-off-by: Tripura Repalle <tripura@blinklabs.io>
Cardano was labelled 'Cardano' (first word of 'Cardano Node ...'); map
alerts to their Demeter product (cardano-node, ogmios, kupo, utxo-rpc,
dolos) from the alertname, which is more reliable than pod/app labels
that are absent on some rules and point at the backing engine (Dolos)
for Kupo and UTxO RPC.

Signed-off-by: Tripura Repalle <tripura@blinklabs.io>
@tripura-repalle tripura-repalle changed the title WIP - feat(incidents): add Demeter incident report generator feat(incidents): add Demeter incident report generator Sep 21, 2026
Signed-off-by: Tripura Repalle <tripura@blinklabs.io>
verbotenj
verbotenj previously approved these changes Sep 24, 2026
The scheduled weekly run passed --months '6' (inputs.months is empty on schedule events), so every week pulled a full 6-month history. Add a --days window option that overrides --months, and branch the workflow on github.event_name: schedule uses --days 7, manual dispatch keeps --months (default 6) for the initial backfill.

Signed-off-by: Tripura Repalle <tripura@blinklabs.io>
@tripura-repalle
tripura-repalle merged commit d877c43 into main Sep 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants