Skip to content

feat: alert rules for the admin-gateway metrics (admin-gateway#12)#62

Merged
emrebulutlar merged 1 commit into
mainfrom
p32-admin-alerts
Jul 4, 2026
Merged

feat: alert rules for the admin-gateway metrics (admin-gateway#12)#62
emrebulutlar merged 1 commit into
mainfrom
p32-admin-alerts

Conversation

@emrebulutlar

Copy link
Copy Markdown
Member

Companion to openexch/admin-gateway#12: the admin gateway now serves /metrics (scraped by the local Prometheus as job admin-gateway); these rules put the new series on the alerting surface match#36 asked for:

  • BackupNotFresh (critical): admin_backup_fresh == 0 for 2m. Freshness, never running — the match#36 wedge looked healthy for days.
  • NodeUnhealthy (warning): admin_cluster_all_nodes_healthy == 0 for 2m (the archive-op guard is refusing while this fires).
  • ManagedProcessFailed (critical): crash-loop cap or start error.
  • AdminGatewayDown (warning): scrape target gone.

Rules load via the existing rule_files entry in the box's prometheus.yml; verified by reloading the local Prometheus (10 rules, all inactive/green).

🤖 Generated with Claude Code

BackupNotFresh (the match#36 lesson: alert on fresh, never running),
NodeUnhealthy (guard-engaged warning), ManagedProcessFailed (crash-loop cap),
AdminGatewayDown (scrape target).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@emrebulutlar
emrebulutlar merged commit 8bdcc0d into main Jul 4, 2026
2 checks passed
@emrebulutlar
emrebulutlar deleted the p32-admin-alerts branch July 4, 2026 18:47
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.

1 participant