zqr10159 opened a new pull request, #1973:
URL: https://github.com/apache/hertzbeat/pull/1973

   ## What's changed?
   
   <!-- Describe Your PR Here -->
   
   Currently Hertzbeat in use , mainly rely on the alert module to notify the 
user , and then the user to take a number of measures such as sending a request 
, the execution of sql , the execution of shell scripts , etc. , but can only 
be manually or webhook to receive the alert information for automated 
processing , this pr add a plugin module , the module has an interface Plugin, 
the user can implement this interface execute method to receive Alert as a 
parameter for customized operations. After writing the code, users only need to 
package the plugin module, copy it to the /ext-lib folder in the installation 
directory, restart the main hertzbeat program, you can realize the custom 
function of executing the alert, without having to re-package and deploy the 
whole program.
   
   
   ## Checklist
   
   - [ ]  I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
   - [ ]  I have written the necessary doc or comment.
   - [ ]  I have added the necessary unit tests and all cases have passed.
   
   ## Add or update API
   
   - [ ] I have added the necessary [e2e 
tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have 
passed.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to