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

钉钉告警屏蔽1小时链接显示异常 #2396

Open
zhaozhuang-ti opened this issue Dec 26, 2024 · 0 comments
Open

钉钉告警屏蔽1小时链接显示异常 #2396

zhaozhuang-ti opened this issue Dec 26, 2024 · 0 comments

Comments

@zhaozhuang-ti
Copy link

Question and Steps to reproduce

当告警规则中存在空格时,钉钉告警屏蔽1小时告警链接显示异常
QQ20241226-104550

Relevant logs and configurations

对告警规则使用urlquery编码后正常

修改前
[屏蔽1小时]({{$domain}}/alert-mutes/add?busiGroup={{.GroupId}}&cate={{.Cate}}&datasource_ids={{.DatasourceId}}&prod={{.RuleProd}}{{range $key, $value := .TagsMap}}&tags={{$key}}%3D{{$value}}{{end}})

修改后
[屏蔽1小时]({{$domain}}/alert-mutes/add?busiGroup={{.GroupId}}&cate={{.Cate}}&datasource_ids={{.DatasourceId}}&prod={{.RuleProd}}{{range $key, $value := .TagsMap}}&tags={{$key}}%3D{{urlquery $value}}{{end}})

Version

8

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

1 participant