prometheus / prometheus/alertmanager

Add num firing and resolved alerts to webhook payload

Open
#3,396 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hey, I'm working on integrating AlertManager with Grafana OnCall. We are using webhook receiver for that. However, we would like to have number of firing and resolved alerts in payload, because if max_alerts is set it is impossible to calculate it correctly.

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 at the webhook receiver and trace where its payload is assembled. Check the existing webhook payload tests, if present, and define done as including the numbers of firing and resolved alerts so consumers can account for max_alerts correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.