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
{{ message }}
Repository navigation
Option to drop the π¨/β prefix from alert notification titlesΒ #3466
I send HyperDX alerts through the incident.io webhook to a small relay that turns them into email. Every title arrives as π¨ <name> or β <name>. The relay already says firing or resolved in its own words, so each subject line carries the state twice. alert.name lets me template the rest of the title, but buildAlertMessageTemplateTitle adds the prefix after rendering it, so the prefix can't be templated away.
What would you like to see?
An optional per-alert boolean, something like titleEmoji, that leaves the prefix off when it is false.
Unset keeps today's titles exactly, so existing alerts and Slack messages don't change.
It would sit next to name in the alert model and the v2 API, following how note and numConsecutiveWindows were added.
A per-webhook option would also work, but the title is built once per alert before it reaches each channel, so that change would be larger.
Alternatives you've considered
Leaving {{title}} out of a Generic or incident.io body template. That drops the alert name along with the emoji, since no variable holds the name without the prefix. Slack has no equivalent.
Stripping the prefix on the receiving side. That works, but every receiver has to know the exact characters.
Anything else?
It needs no UI control, and the alert edit forms would carry the value through. I have a PR ready, with tests for the default title and the option turned off.
Activity
feat: add optional titleEmoji webhook setting to drop the emoji prefix (