如图所示,已经使用ThingsBoard生成了告警,但是告警太多,需要合并发送实时告警到MQTT。如何合并?其中一条报警信息如下:
{
"tenantId": {
"entityType": "TENANT",
"id": "e0661db0-8c25-11ec-9a94-5d6fff670029"
},
"customerId": {
"entityType": "CUSTOMER",
"id": "13814000-1dd2-11b2-8080-808080808080"
},
"type": "alarm2",
"originator": {
"entityType": "DEVICE",
"id": "ea000230-8f1f-11ec-ae9d-953bf343e774"
},
"severity": "CRITICAL",
"status": "ACTIVE_UNACK",
"startTs": 1645943181958,
"endTs": 1645943181958,
"ackTs": 0,
"clearTs": 0,
"details": {},
"propagate": false,
"propagateToOwner": false,
"propagateToTenant": false,
"propagateRelationTypes": [],
"id": {
"entityType": "ALARM",
"id": "2edda910-9796-11ec-a719-953bf343e774"
},
"createdTime": 1645943182881,
"name": "alarm2"
}