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

飞书通知的Title标题是否可以读取变量 #428

Open
si3041242 opened this issue Aug 21, 2024 · 1 comment
Open

飞书通知的Title标题是否可以读取变量 #428

si3041242 opened this issue Aug 21, 2024 · 1 comment

Comments

@si3041242
Copy link

image
目前即使我配置多个模板,发送消息时的lark卡片大标题和底部文字依然是写死的,只能共用一个标题,我其实想让标题读取某个变量,例如服务分组或者服务告警级别,这样告警更加直观明了

#告警消息标题
title=Peeaboo.Tech ALert

app.conf为全局配置,是否可以独立配置让不同的消息模板应用不同的title,如果可以的话那真的太完美了

@jicki
Copy link
Collaborator

jicki commented Aug 22, 2024

emmm 可以改一下代码吧,让 title 读取 aletname 就好了.

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