This is an automated email from the ASF dual-hosted git repository.

yinyijun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new fb03a57725 [feature] Support i18n of collector online notification 
(#3585)
fb03a57725 is described below

commit fb03a57725a604b2b545560eb719482401412308
Author: Duansg <[email protected]>
AuthorDate: Fri Jul 18 19:51:08 2025 +0800

    [feature] Support i18n of collector online notification (#3585)
    
    Co-authored-by: Calvin <[email protected]>
---
 .../java/org/apache/hertzbeat/alert/calculate/CollectorAlertHandler.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/calculate/CollectorAlertHandler.java
 
b/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/calculate/CollectorAlertHandler.java
index e25bbb2ba1..a9b026479f 100644
--- 
a/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/calculate/CollectorAlertHandler.java
+++ 
b/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/calculate/CollectorAlertHandler.java
@@ -81,6 +81,7 @@ public class CollectorAlertHandler {
             firingAlert.setTriggerTimes(1);
             firingAlert.setEndAt(System.currentTimeMillis());
             firingAlert.setStatus(CommonConstants.ALERT_STATUS_RESOLVED);
+            
firingAlert.setContent(this.bundle.getString("alerter.availability.collector.recover"));
             alarmCommonReduce.reduceAndSendAlarm(firingAlert.clone());
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to