Skip to content

[FEATURE] add alert manager plugin#647

Open
jgbernalp wants to merge 1 commit intomainfrom
feat/alert-manager-plugin
Open

[FEATURE] add alert manager plugin#647
jgbernalp wants to merge 1 commit intomainfrom
feat/alert-manager-plugin

Conversation

@jgbernalp
Copy link
Copy Markdown
Contributor

@jgbernalp jgbernalp commented May 4, 2026

Description

This PR adds the alert manager plugin:

  • Alerts table with hierarchical grouping
  • Silence table with action to expire silences
  • Alerts explore with action to silence alerts (create silence)
  • Silence explore with option to create silences

Part 3 of perses/perses#3645

needs the following PRs: ( CI will fail until these are merged and dependencies are updated )

Screenshots

Screen.Recording.2026-05-04.at.11.26.59.mov
Screenshot 2026-05-04 at 11 31 02 Screenshot 2026-05-04 at 11 30 33 Screenshot 2026-05-04 at 11 34 49

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

Testing locally

  • Pull all the repo PRs locally
# link spec with shared plugin-system
cd <path to perses spec in #21>/ts
npm install
npm run build
cd <path to perses shared in #127>/plugin-system
npm install <relative path to perses spec in #21 e.g. "../../spec/ts">

# link shared with perses
cd <path to perses shared in #127>
npm install
npm run build
./scripts/link-with-perses/link-with-perses.sh --perses

# start perses backend
cd <path to perses in #21>
make build-cli
./scripts/api_backend_dev.sh --e2e

# in a 2nd terminal, start the app in shared mode
cd <path to perses in #21>/ui/app
npm run start:shared

# in a 3rd terminal, start the plugin
cd <path to perses plugins in #647>
<path to perses in #21>/bin/percli plugin start alertmanager

# in a 4th terminal, start the test alert manager and prometheus
cd <path to perses in #21>
podman compose --file dev/docker-compose.yaml --profile prometheus --profile avalanche --profile alertmanager up

And that is all 😅 , we need to script this away... I'll extend the link script

@jgbernalp jgbernalp force-pushed the feat/alert-manager-plugin branch 2 times, most recently from c81fb7a to 61b2b65 Compare May 4, 2026 09:46
@jgbernalp jgbernalp requested review from Nexucis and shahrokni May 4, 2026 09:46
@jgbernalp jgbernalp force-pushed the feat/alert-manager-plugin branch from 61b2b65 to bcbbbdc Compare May 4, 2026 09:49
@jgbernalp jgbernalp marked this pull request as ready for review May 4, 2026 09:51
@jgbernalp jgbernalp requested review from a team and AntoineThebaud as code owners May 4, 2026 09:51
@jgbernalp jgbernalp marked this pull request as draft May 4, 2026 09:54
@jgbernalp jgbernalp force-pushed the feat/alert-manager-plugin branch from bcbbbdc to 6858481 Compare May 4, 2026 10:26
@jgbernalp jgbernalp marked this pull request as ready for review May 4, 2026 10:39
@jgbernalp jgbernalp force-pushed the feat/alert-manager-plugin branch 2 times, most recently from 47a1481 to 31c0f28 Compare May 4, 2026 11:02
Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
@jgbernalp jgbernalp force-pushed the feat/alert-manager-plugin branch from 31c0f28 to 3258751 Compare May 4, 2026 11:04
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