Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于告警通知建议 #1929

Open
kubeop opened this issue Apr 28, 2024 · 1 comment
Open

关于告警通知建议 #1929

kubeop opened this issue Apr 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kubeop
Copy link

kubeop commented Apr 28, 2024

  • 企业微信机器人、钉钉机器人、飞书机器人、邮箱、短信、电话等类型定义为告警媒介
  • 联系方式改造为通知渠道,根据选择告警媒介,可以直接配置填写对应的机器人地址,而不是像现在这样配置联系方式,并且还需要关联用户进行配置
  • 通知渠道关联告警通知模版,而不是像现在这样每一个告警媒介都配置一个模版,这样处理可以提高模版的复用。比如我创建了2个类型为企业微信机器人的通知渠道(不同的机器人地址),就可以选择同一个通知模版
  • 告警通知关联通知渠道,根据通知渠道的配置进行消息发送。
  • 配置告警规则或告警订阅的通知对象时,通知对象支持选择联系人、联系人组、WEBHOOK等类型通知渠道。选择联系人类型时,支持从用户列表选对应用户,并支持勾选使用邮箱或电话;选择联系人组时,支持同用户组列表中选择对应用户组,并支持勾选使用邮箱或电话;选择WEBHOOK类型时,支持从通知渠道列表选择对应的渠道。
  • 按照上面的逻辑,就可以减少用户配置,根据实际需要,配置告警订阅规则发送到对应的通知对象即可,配置也更灵活一些
@UlricQin
Copy link
Member

告警通知有改造计划,不过人力尚未接就,后面改造的时候一并考虑

@laiwei laiwei added the enhancement New feature or request label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants