Commit 287db05
apollo_dashboard,apollo_deployments: add top-level intervalSec to Alerts; use it in alert builder
Move the evaluation interval from a per-alert field to a top-level field
on the Alerts struct. The interval is group-scoped in Grafana, so a single
value for all alerts is the correct model.
Also restructure alert_builder.py to upload/dump per rule-group instead of
per individual alert, using the top-level intervalSec as the group interval.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 798e13b commit 287db05
21 files changed
Lines changed: 787 additions & 780 deletions
File tree
- crates/apollo_dashboard
- resources
- src
- alert_scenarios
- deployments
- monitoring/src/builders
- sequencer/src/constructs
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
0 commit comments