Loki Integration
Overview
Integration Flow
Webhook Payload Schema
{
"receiver": "string",
"status": "firing | resolved",
"alerts": [
{
"status": "firing | resolved",
"labels": {
"alertname": "string",
"severity": "string",
"env": "string"
},
"annotations": {
"summary": "string",
"description": "string"
},
"startsAt": "ISO8601 timestamp",
"endsAt": "ISO8601 timestamp",
"generatorURL": "string",
"fingerprint": "string"
}
],
"groupLabels": {},
"commonLabels": {
"alertname": "string",
"severity": "string"
},
"commonAnnotations": {
"summary": "string",
"description": "string"
},
"externalURL": "string",
"version": "4",
"groupKey": "string",
"truncatedAlerts": 0
}Setup
Step 1 — Create an Alert Source on the Platform
Step 2 — Install and Configure Alertmanager
Step 3 — Configure the Loki Ruler
Step 4 — Create Alert Rules
Step 5 — Verify the Integration
Sample Payload
Field Mapping Reference
Payload Field
Description
Priority Mapping
RESOLVE Detection
Last updated
Was this helpful?

