Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.11 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.11 KB

Grafana WebHook Source

This directory contains a source for WebHook events emitted by Grafana AlertManager.

Configuration

[gateway.source.grafana]
template = "{{.Status}}: {{.Title}} is alerting!"

By default, no specific configuration is required, and messages will be emitted according to the server-defined template. However, gateways can override the notification template, using Go's text/template syntax.

For a list of available fields in templates, check the reference documentation and the Payload definition in the grafana.go.