Skip to content

feat(sensitive): Glance lists the last day's alerts and 25 releases - #1814

Merged
Gerrrt merged 1 commit into
mainfrom
glance-recent-alerts
Nov 28, 2026
Merged

Gerrrt merged 1 commit into
mainfrom
glance-recent-alerts

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 28, 2026

Copy link
Copy Markdown
Owner

What changed

  • Homelab: a new Last 24 hours panel below Estate. It lists every warning and critical alert that fired in the last day, newest first, each marked "firing" or with how long ago it stopped. These are the alerts Alertmanager sends to ntfy. The panel reads them back from Prometheus's ALERTS series with the reader token Glance already holds.
  • Maintenance: the releases list shows the newest 25 releases, up from Glance's default of 10, and still collapses after 6.
  • Stack README: the Homelab bullet now mentions the new panel. The Homelab page's header comment mentions it too and has been rewrapped.

Why

  • Estate only shows what is firing now. An alert that fired overnight and cleared left no trace on the page. Reading ntfy directly would need a new credential, and Glance can't parse ntfy's line-by-line output, so the panel uses Prometheus.
  • 32 repositories are followed, but only 10 releases were shown.

Blast radius

Two Glance page files on trinity. No new credential, no compose change. The new panel makes one more Prometheus query every 5 minutes: a 24-hour subquery at a one-minute step, over the ALERTS series only.

Verification

  • python3 scripts/check_docs.py passes. ./scripts/lint.sh passes, with 11 tools skipped locally because Docker isn't available here; CI runs them.
  • Rendered both pages in a throwaway Glance on trinity, with the live image, network and CA:
    • Last 24 hours listed five alerts: four marked firing, and one from 17 hours ago.
    • Releases showed 25 entries.
    • No widget on either page errored.

🤖 Generated with Claude Code

Homelab gains a Last 24 hours panel of every warning and critical that fired,
read back from Prometheus's ALERTS series with the existing reader token.
Maintenance's releases list shows the newest 25 rather than 10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt enabled auto-merge (squash) November 28, 2026 23:17
@Gerrrt
Gerrrt merged commit 027ed69 into main Nov 28, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the glance-recent-alerts branch November 28, 2026 23:19
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