Skip to content

Commit

Permalink
improve: update doc for plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuTianyou committed Aug 18, 2024
1 parent a239fdd commit 839cc23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion home/docs/help/plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Currently, `HertzBeat` only set up the trigger `alert` method after alarm, if yo
3. Add the fully qualified names of the interface implementation classes to the `META-INF/services/org.apache.hertzbeat.plugin.Plugin` file, with each implementation class name on a separate line.
4. Package the `hertzbeat-plugin` module.
![plugin-3.png](/img/docs/help/plugin-3.png)
5. Upload the packaged `jar` package to `HertzBeat` through `Plugin Manage`-`Upload Plugin` function and enable this plugin to implement customized alarm post-processing strategy.
5. Upload the jar file with the name ending in `-jar-with-lib.jar` to `HertzBeat` through the `Plugin Manage` - `Upload Plugin` feature, and enable the plugin to implement a custom alarm post-processing strategy.
![plugin-5-en.jpg](/img/docs/help/plugin-5-en.jpg)

### Recommendations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sidebar_label: 自定义插件
3.`META-INF/services/org.apache.hertzbeat.plugin.Plugin` 文件中增加接口实现类的全限定名,每个实现类全限定名单独成行。
4. 打包`hertzbeat-plugin`模块。
![plugin-3.png](/img/docs/help/plugin-3.png)
5. 将打包后的`jar`包,通过 `插件管理`-`上传插件`功能上传到`HertzBeat` 中并启用该插件即可实现自定义告警后处理策略。
5. 将打包后的`jar`包,通过 `插件管理`-`上传插件`功能将名称以 `-jar-with-lib.jar` 结尾的 jar 包上传到`HertzBeat` 中并启用该插件即可实现自定义告警后处理策略。
![plugin-5.jpg](/img/docs/help/plugin-5.jpg)

### 使用建议
Expand Down

0 comments on commit 839cc23

Please sign in to comment.