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

需求建议 #2154

Open
njqaaa opened this issue Sep 8, 2024 · 5 comments
Open

需求建议 #2154

njqaaa opened this issue Sep 8, 2024 · 5 comments

Comments

@njqaaa
Copy link

njqaaa commented Sep 8, 2024

Question and Steps to reproduce

背景:团队与告警接收组是2个概念,当前夜莺中是一个概念,体感较差。
问题:假设团队A中有10个人,该团队有10个用户,每个用户配置飞书token,就意味着同一条告警会发送10次。
建议:团队与告警接收组分离,团队仅用于控制权限,告警接收组无需权限概念,所有团队可以看到所有接收组。

基于上述需求,另外需要告警接收组支持用户纬度。

Relevant logs and configurations

Version

7.3.1

@njqaaa
Copy link
Author

njqaaa commented Sep 8, 2024

另外个需求,通过api创建rule后,返回的response没有id。

@UlricQin
Copy link
Member

UlricQin commented Sep 8, 2024 via email

@njqaaa
Copy link
Author

njqaaa commented Sep 8, 2024

虚拟人没用的,还是得加入团队,并且依然无法规避团队中其他人自行添加token

@njqaaa
Copy link
Author

njqaaa commented Sep 8, 2024

如果团队中只有虚拟人,算变相解决,但同时引入新问题

修改告警规则的时候 告警接收组无法选择虚拟人所在团队

@UlricQin
Copy link
Member

UlricQin commented Sep 24, 2024

你也可以用回调地址,告警规则里的回调地址直接配置机器人的那个url就行;或者把虚拟人和正常的user加入一个团队,姑且可以把这个虚拟人看做是团队的一个属性,相当于发告警给某个团队,团队里恰好有个钉钉token,进而就发给了钉钉。这两种方式都可以。未来会有其他方式,短期就是这俩方案。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants