# Grafana alerting provisioning — contact points
# Sends all alerts to Gotify (self-hosted push notifications).
apiVersion: 1

contactPoints:
  - orgId: 1
    name: Gotify
    receivers:
      - uid: gotify-webhook
        type: webhook
        settings:
          url: "http://gotify/message?token=ABZrZgCY-4ivcmt"
          httpMethod: POST
          title: "{{ .CommonLabels.alertname }}"
          message: "{{ range .Alerts }}{{ .Annotations.summary }}\n{{ .Annotations.description }}{{ end }}"
        disableResolveMessage: false
