Skip to content

incident.io notifier: add metadata field with templating support#5022

Draft
leonore wants to merge 2 commits intoprometheus:mainfrom
incident-io:leo/incidentio-notifier-templating
Draft

incident.io notifier: add metadata field with templating support#5022
leonore wants to merge 2 commits intoprometheus:mainfrom
incident-io:leo/incidentio-notifier-templating

Conversation

@leonore
Copy link
Copy Markdown

@leonore leonore commented Feb 20, 2026

Allow users to send custom key-value metadata with alerts, with full Go template rendering support (e.g. {{ .CommonLabels.severity }}).

Pull Request Checklist

Please check all the applicable boxes.

  • Please list all open issue(s) discussed with maintainers related to this change
    • There is no issue where this is formally requested, but it was mentioned here, and through other threads.
  • Is this a new Receiver integration?
  • Is this a bugfix?
    • I have added tests that can reproduce the bug which pass with this bugfix applied
  • Is this a new feature?
    • I have added tests that test the new feature's functionality
  • Does this change affect performance?
    • I have provided benchmarks comparison that shows performance is improved or is not degraded
      • You can use benchstat to compare benchmarks
    • I have added new benchmarks if required or requested by maintainers
  • Is this a breaking change?
    • My changes do not break the existing cluster messages
    • My changes do not break the existing api
  • I have added/updated the required documentation
  • I have signed-off my commits
  • I will follow best practices for contributing to this project

Which user-facing changes does this PR introduce?

[ENHANCEMENT] The incident.io notifier now supports metadata with templating. 

Allow users to send custom key-value metadata with alerts, with full
Go template rendering support (e.g. {{ .CommonLabels.severity }}).

Signed-off-by: leo <leo@incident.io>
@leonore leonore force-pushed the leo/incidentio-notifier-templating branch from 202f665 to 642f435 Compare February 20, 2026 17:11
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.

2 participants