prometheus / prometheus/alertmanager
template.Data does not export GroupKey
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.6k
- Forks
- 2.5k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 61
Description
Is it intended that https://github.com/prometheus/alertmanager/blob/10757eb5fb78c5c58586812721e9833b0d8500ee/template/template.go#L231 does not export GroupKey, as defined here:
https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
I'm writing a webhook receiver and had to define my own Data struct because I want to access that field
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read template/template.go around line 231 and compare template.Data with the webhook configuration documentation linked in the issue. Confirm whether GroupKey should be part of the exported data available to webhook receivers, then verify the implementation and documented webhook fields agree.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100