prometheus / prometheus/alertmanager

Port number template functions from prometheus to alertmanager

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

Nobody has claimed this yet.

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

Description

https://prometheus.io/docs/prometheus/latest/configuration/template_reference/#numbers are stateless, and pure functions, they could come in handy in alertmanager.

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 with the Prometheus template reference linked in the issue and compare its number functions with Alertmanager's existing template functionality. Identify the stateless, pure functions that are missing; the work is done when the applicable functions are available in Alertmanager with behavior matching the Prometheus reference.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.