toytest 第3个问题我已经探索出来了 post接口用string接收一下,就能看到测试数据
{
"receiver": "Default",
"status": "firing",
"alerts": [
{
"status": "firing",
"labels": {
"alertname": "Test"
},
"annotations": {
"message": "Congratulations, your configuration is correct!"
},
"startsAt": "2024-10-29T16:32:34.065594159+08:00",
"endsAt": "2024-10-29T16:32:34.065594353+08:00",
"generatorURL": "",
"fingerprint": ""
}
],
"groupLabels": {
"alertname": "Test"
},
"commonLabels": {
"alertname": "Test"
},
"commonAnnotations": {
"message": "Congratulations, your configuration is correct!"
},
"externalURL": "kubesphere.io"
}