Grafana Oncall

Let’s hope this save’s someone time. If you are using Grafana Oncall to triage alerts, this is how we have our alert setup using the API transport.

The body portion was cut off so here it is in all it’s glory.

{
  "title": "{{ $title }}",
  "state": "{{ $state }}",
  "message": "{{ $name }}",
  "alert_uid": "{{ $id }}",
  "link_to_upstream_details": "https://lnms.poopoo.org/device/device={{ $device_id }}"
}

How do you configure the template? I trying to group and auto resovle alerts, but i cant find a way to group the alerts because de $id is an auto increment value (no same id for the restore notification)

You can please share your Grafana Integration Template configuration?