You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
According to the code of the Discord integration, there is no chance to specify Web hook content field from the message notification template. Just a embed title&message can be configured.
It's useful thing to have it when you want to tag person/role in alert. It can be doable in title&message of the embed message but user won't get a notification due to Discord API limitation.
So, it limit the tagging in Discord integration at all, and there is no chance with the current implementation to notify specific user about the alert.
What did you do?
Sent an alert to discord with the tagged user/role
What did you expect to see?
Tagged user should be notified in Discord client
What did you see instead? Under which circumstances?
Just an mention in alert without any notification for user in Discord client
Alertmanager version:
alertmanager, version 0.26.0 (branch: HEAD, revision: d7b4f0c)
build user: root@df8d7debeef4
build date: 20230824-11:11:58
go version: go1.20.7
platform: linux/amd64
tags: netgo
Prometheus version:
prometheus, version 2.48.1 (branch: HEAD, revision: 63894216648f0d6be310c9d16fb48293c45c9310)
build user: root@71f108ff5632
build date: 20231208-23:33:22
go version: go1.21.5
platform: linux/amd64
tags: netgo,builtinassets,stringlabels
insert configuration here (if relevant to the issue)
Logs:
insert Prometheus and Alertmanager logs relevant to the issue here
The text was updated successfully, but these errors were encountered:
aZ2394
changed the title
Discord integration: add possibility to configure the webhook content object
Discord integration: no possibility to configure the webhook content object
Jan 11, 2024
Hi there,
According to the code of the Discord integration, there is no chance to specify Web hook content field from the message notification template. Just a embed title&message can be configured.
It's useful thing to have it when you want to tag person/role in alert. It can be doable in title&message of the embed message but user won't get a notification due to Discord API limitation.
So, it limit the tagging in Discord integration at all, and there is no chance with the current implementation to notify specific user about the alert.
What did you do?
Sent an alert to discord with the tagged user/role
What did you expect to see?
Tagged user should be notified in Discord client
What did you see instead? Under which circumstances?
Just an mention in alert without any notification for user in Discord client
alertmanager, version 0.26.0 (branch: HEAD, revision: d7b4f0c)
build user: root@df8d7debeef4
build date: 20230824-11:11:58
go version: go1.20.7
platform: linux/amd64
tags: netgo
prometheus, version 2.48.1 (branch: HEAD, revision: 63894216648f0d6be310c9d16fb48293c45c9310)
build user: root@71f108ff5632
build date: 20231208-23:33:22
go version: go1.21.5
platform: linux/amd64
tags: netgo,builtinassets,stringlabels
The text was updated successfully, but these errors were encountered: