Ykubernetes opened a new issue, #2524:
URL: https://github.com/apache/hertzbeat/issues/2524
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
During alarm recovery, sending a message containing a threshold expression
causes the content field to contain special characters
for example:
{
"alarmId": 76456,
"target": "${target}",
"thresholdId": 33455,
"priority": 0,
"content": "alert **** , status("up")",
"status": 0,
"times": 1,
"triggerTime": "2022-02-25T13:32:13",
"tags": {
"app": "windows",
"monitorId": "180427708350720",
"metrics": "availability",
"code": "UN_CONNECTABLE",
"thresholdId": "112",
"monitorName": "WINDOWS_192.168.124.12"
}
}
"content" is not a valid JSON format and has not been escaped
### Expected Behavior
_No response_
### Steps To Reproduce
_No response_
### Environment
```markdown
HertzBeat version(s): 1.6.0
```
### Debug logs
no logs
### Anything else?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
notifications-unsubscr...@hertzbeat.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: notifications-h...@hertzbeat.apache.org