Skip to content

Conversation

@siavashs
Copy link
Contributor

This change introduces a new template function called toJson which can convert internal Alertmanager data structures into their JSON representation.

This is useful in notify integrations where JSON objects can be passed to external services.

This change introduces a new template function called `toJson` which
can convert internal Alertmanager data structures into their JSON
representation.

This is useful in notify integrations where JSON objects can be
passed to external services.

Signed-off-by: Siavash Safi <siavash@cloudflare.com>
@siavashs
Copy link
Contributor Author

siavashs commented Dec 2, 2025

@SuperQ please review and merge this.

@SuperQ SuperQ merged commit e9405f9 into prometheus:main Dec 3, 2025
7 checks passed
@siavashs siavashs mentioned this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants