WIP: Alertmanager API integration #642

Draft
tobru wants to merge 2 commits from design/alertmanager-integration into main
Owner

Research and design for surfacing Alertmanager data in the portal: per-instance alerts, a staff control-plane-wide list, and self-service silencing.

Closes #641

Research and design for surfacing Alertmanager data in the portal: per-instance alerts, a staff control-plane-wide list, and self-service silencing. Closes #641
Research and design for surfacing Alertmanager data in the portal: per-instance
alerts, a staff control-plane-wide list, and self-service silencing.

Alertmanager has no authentication and no tenancy, so every isolation guarantee
has to be built portal-side. The design routes calls through the Kubernetes API
server's service proxy to reuse the existing ControlPlane credentials and
network path, anchors tenancy on Prometheus Operator's enforcedNamespaceLabel,
and pins silence matchers server-side with a portal-owned AlertSilence model
for expiry authorisation.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
tobru force-pushed design/alertmanager-integration from 2795ce30f3 to a6bf893d23
All checks were successful
Tests / test (push) Successful in 1m29s
2026-09-10 18:57:05 +00:00
Compare
All checks were successful
Tests / test (push) Successful in 1m29s
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin design/alertmanager-integration:design/alertmanager-integration
git switch design/alertmanager-integration

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff design/alertmanager-integration
git switch design/alertmanager-integration
git rebase main
git switch main
git merge --ff-only design/alertmanager-integration
git switch design/alertmanager-integration
git rebase main
git switch main
git merge --no-ff design/alertmanager-integration
git switch main
git merge --squash design/alertmanager-integration
git switch main
git merge --ff-only design/alertmanager-integration
git switch main
git merge design/alertmanager-integration
git push origin main
Sign in to join this conversation.
No description provided.