prometheus / prometheus/alertmanager

Preview of alert utilizing templating and so on

Open
#584 3 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component/notify component/templating kind/enhancement stale
Dominant language
Go
Stars
8.6k
Forks
2.5k
Avg merge
2d 6h
Merged PRs (30d)
61

Description

Make some ability to show/send alert for any of active alert rules to see, if custom template will not fail in runtime (when alert should be actually produced). It will also make nice ability to test, how will alert be formatted. I imagine some UI, where I can select rule, than see number of metrics/labels set, which could potentially trigger given rule and I would choose which metrics should trigger virtually given rule. As result, all configured paths (email/slack/customWebHook/...) would be virtually triggered and data for each of them would be shown. So for email I would expect to see html formatted by custom template, as it is configured.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by mapping how active alert rules, templating, and configured notification paths are represented and invoked. The proposed feature is complete when a user can select a rule, choose metrics to trigger virtually, and inspect the rendered result for each configured path without sending real alerts.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.