-
Notifications
You must be signed in to change notification settings - Fork 184
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
can I use the alertmanager templates? #70
Comments
I use the production_example.tmpl but
didn't show anything how can I fix it? out put
|
You can try to ask @AndreaGreco about that template. Generally you can always sniff traffic between the bot and alert manager and add also log messages in go code. |
ok! thank you |
Hi, pass too many years i don't remember for. |
Well, kinda late answer. annotations:
title: '{{ $labels.instance }}'
name: 'Instance Alert'
value: 'Some Value' Also, you should exclude those keys from loop (based on production_example.tmpl) Active from: {{ $val.StartsAt | str_FormatDate }}
{{ range $key, $value := $val.Annotations -}}
{{ if and (and (ne $key "name") (ne $key "value")) (ne $key "measureUnit") }} -<<<< There
{{$key}}: {{$value}}
{{- end -}} |
hello Thanks for prometheus_bot.
can I use the alertmanager templates for the telegram templates?
thank you~
The text was updated successfully, but these errors were encountered: