The JSON object looks like this now. Alter the code to make it work:
{
 "receiver": "My Super Webhook",
 "status": "firing",
 "orgId": 1,
 "alerts": [
 {
 "status": "firing",
 "labels": {
 "alertname": "High memory usage",
 "team": "blue",
 "zone": "us-1"
 },
 "annotations": {
 "description": "The system has high memory usage",
 "runbook\_url": "https://myrunbook.com/runbook/1234",
 "summary": "This alert was triggered for zone us-1"
 },
 "startsAt": "2021-10-12T09:51:03.157076+02:00",
 "endsAt": "0001-01-01T00:00:00Z",
 "generatorURL": "https://play.grafana.org/alerting/1afz29v7z/edit",
 "fingerprint": "c6eadffa33fcdf37",
 "silenceURL": "https://play.grafana.org/alerting/silence/new?alertmanager=grafana&matchers=alertname%3DT2%2Cteam%3Dblue%2Czone%3Dus-1",
 "dashboardURL": "",
 "panelURL": "",
 "valueString": "[ metric='' labels={} value=14151.331895396988 ]"
 },
 {
 "status": "firing",
 "labels": {
 "alertname": "High CPU usage",
 "team": "blue",
 "zone": "eu-1"
 },
 "annotations": {
 "description": "The system has high CPU usage",
 "runbook\_url": "https://myrunbook.com/runbook/1234",
 "summary": "This alert was triggered for zone eu-1"
 },
 "startsAt": "2021-10-12T09:56:03.157076+02:00",
 "endsAt": "0001-01-01T00:00:00Z",
 "generatorURL": "https://play.grafana.org/alerting/d1rdpdv7k/edit",
 "fingerprint": "bc97ff14869b13e3",
 "silenceURL": "https://play.grafana.org/alerting/silence/new?alertmanager=grafana&matchers=alertname%3DT1%2Cteam%3Dblue%2Czone%3Deu-1",
 "dashboardURL": "",
 "panelURL": "",
 "valueString": "[ metric='' labels={} value=47043.702386305304 ]"
 }
 ],
 "groupLabels": {},
 "commonLabels": {
 "team": "blue"
 },
 "commonAnnotations": {},
 "externalURL": "https://play.grafana.org/",
 "version": "1",
 "groupKey": "{}:{}",
 "truncatedAlerts": 0,
 "title": "[FIRING:2] (blue)",
 "state": "alerting",
 "message": "\*\*Firing\*\*\n\nLabels:\n - alertname = T2\n - team = blue\n - zone = us-1\nAnnotations:\n - description = This is the alert rule checking the second system\n - runbook\_url = https://myrunbook.com\n - summary = This is my summary\nSource: https://play.grafana.org/alerting/1afz29v7z/edit\nSilence: https://play.grafana.org/alerting/silence/new?alertmanager=grafana&matchers=alertname%3DT2%2Cteam%3Dblue%2Czone%3Dus-1\n\nLabels:\n - alertname = T1\n - team = blue\n - zone = eu-1\nAnnotations:\nSource: https://play.grafana.org/alerting/d1rdpdv7k/edit\nSilence: https://play.grafana.org/alerting/silence/new?alertmanager=grafana&matchers=alertname%3DT1%2Cteam%3Dblue%2Czone%3Deu-1\n"
}
이제 JSON 객체는 다음과 같이 보입니다. 코드를 변경하여 작동하도록 합니다:{ "수신자": "내 슈퍼 웹훅", "status": "firing", "orgId": 1, "alerts": [ { "status": "발사", "레이블": { "경고명": "높은 메모리 사용량", "팀": "파란색", "zone": "us-1" }, "annotations": { "설명": "시스템의 메모리 사용량이 높습니다.", "런북\_URL": "https://myrunbook.com/runbook/1234", "summary": "이 경고는 영역 us-1에 대해 트리거되었습니다." }, "startsAt": "2021-10-12T09:51:03.157076+02:00", "endsAt": "0001-01-01T00:00:00Z", "generatorURL": "https://play.grafana.org/alerting/1afz29v7z/edit", "fingerprint": "c6eadffa33fcdf37", "silenceURL": "https://play.grafana.org/alerting/silence/new?alertmanager=grafana&matchers=alertname%3DT2%2Cteam%3Dblue%2Czone%3Dus-1", "dashboardURL": "", "panelURL": "", "valueString": "[ metric='' labels={} value=14151.331895396988 ]" }, { "status": "firing", "labels": { "경고명": "높은 CPU 사용량", "팀": "blue", "zone": "eu-1" }, "annotations": { "설명": "시스템의 CPU 사용량이 높습니다.", "런북\_URL": "https://myrunbook.com/runbook/1234", "summary": "이 경고는 영역 eu-1에 대해 트리거되었습니다." }, "startsAt": "2021-10-12T09:56:03.157076+02:00", "endsAt": "0001-01-01T00:00:00Z", "generatorURL": "https://play.grafana.org/alerting/d1rdpdv7k/edit", "fingerprint": "bc97ff14869b13e3", "silenceURL": "https://play.grafana.org/alerting/silence/new?alertmanager=grafana&matchers=alertname%3DT1%2Cteam%3Dblue%2Czone%3Deu-1", "dashboardURL": "", "panelURL": "", "valueString": "[ metric='' labels={} value=47043.702386305304 ]" } ], "groupLabels": {}, "commonLabels": { "team": "blue" }, "commonAnnotations": {}, "externalURL": "https://play.grafana.org/", "version": "1", "그룹키": "{}:{}", "잘린경고": 0, "title": "[FIRING:2] (파란색)", "state": "경고", "메시지": "\*\*발령\*\*\n\n라벨:\n - 알림명 = T2\n - 팀 = 파란색\n - 구역 = us-1\n주석:\n - 설명 = 두 번째 시스템을 검사하는 알림 규칙입니다\n - 런북\_url = https://myrunbook.com\n - 요약 = 제 요약입니다\n소스: https://play.grafana.org/alerting/1afz29v7z/edit\n사일런스: https://play.grafana.org/alerting/silence/new? alertmanager=grafana&matchers=alertname%3DT2%2Cteam%3Dblue%2Czone%3Dus-1\n\n라벨:\n - alertname = T1\n - team = blue\n - zone = eu-1\nAnnotations:\n소스: https://play.grafana.org/alerting/d1rdpdv7k/edit\n침묵: https://play.grafana.org/alerting/silence/new?alertmanager=grafana&matchers=alertname%3DT1%2Cteam%3Dblue%2Czone%3Deu-1\n"}