hertzbeat
hertzbeat copied to clipboard
Feature/custom define help link
What's changed?
feature: 通过配置yaml文件中的help参数自定义监控页面右上角帮助链接,
Checklist
- [ ] I have read the Contributing Guide
- [ ] I have written the necessary doc or comment.
- [ ] I have added the necessary unit tests and all cases have passed.
hi 感谢PR👍 不过监控模版里面的help字段已经被设计占用了,我们是设计把它用来做帮助文档提示 https://github.com/dromara/hertzbeat/pull/1160/files#diff-7d814e7f3f605ee47c316d1416ba0e408f70b828a0b64fe3d912f0584ad1221a
感觉我们可以等那个PR merge之后 在它的基础上再加上link,如下。前端就兼容下如果没有对应link就默认原来写死的那个咋样
name:
zh-CN: 模拟应用
en-US: EXAMPLE APP
# The description and help of this monitoring type
# 监控类型的帮助描述信息
help:
zh-CN: PING连通性 - Hertzbeat 支持您使用在线配置对端服务的IP或域名地址,监控本机网络与对端网络的PING可连通性。
en-US: PING CONNECT - You can use the IP address or domain address of the peer service to monitor the PING connectivity between the local network and the peer network.
link: https://hertzbeat.com/docs/help/guide
👍
后续进行调整
Reference in new