hi, for now I don’t need the silence and source link, I want a simple and informative alert message, can I remove it from the alert message on telegram?
my Grafana installed version is v9.3.0
hi, for now I don’t need the silence and source link, I want a simple and informative alert message, can I remove it from the alert message on telegram?
my Grafana installed version is v9.3.0
@iwanmii Welcome to the Grafana forum.
Yes, you can remove those lines by editing your template, which should be found in this section:
hi @grant2 thanks for your response,
but I don’t understand, do I have to make my own template? Currently I do not have my own template
@georgerobinson Where can @iwanmii edit his Telegraf template? He apparently has no templates defined.
thanks @grant2
hi @georgerobinson please your advice
Hi! If you don’t have any custom templates then Telegram uses the default template. The default template cannot be editied, but you can copy what you need from the default template to a custom template.
Hi! The name of a template should be unique, it’s not recommended to create custom templates that use the same name as templates in the default template. You also cannot write Go code in a template, just text/template.
Hi @georgerobinson any suggestions? or an example of a simple and informative alert
Hi! This template is invalid because it also contains Go code. You just want the template. For example, all the text in DefaultTemplateString
.
I’m looking to edit the default template, but this link appears to be dead.