hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

[alerter]optimize: Append not resolved alert description to resolved alert

Open loong95 opened this issue 1 year ago • 2 comments

What's changed?

related issue

Enhanced the resolved alert description by appending the trigger alert's description, improving the context provided during alert resolution.

Suppose an alert is triggered with the following content:

The xxx server is in exception.

Before the modification, the resolved alert description was:

Alert Resolved Notice: status > 0

After the modification, the description becomes:

Alert Resolved Notice: The xxx server is in exception.

Checklist

  • [x] I have read the Contributing Guide
  • [x] I have written the necessary doc or comment.
  • [x] I have added the necessary unit tests and all cases have passed.

Add or update API

  • [x] I have added the necessary e2e tests and all cases have passed.

loong95 avatar Aug 24 '24 10:08 loong95

hi, how to config the alarm recover message

tomsun28 avatar Aug 25 '24 02:08 tomsun28

hi, how to config the alarm recover message

I haven't added any new configurations; I'm simply reusing the alert content from the unresolved alerts.

loong95 avatar Aug 25 '24 08:08 loong95