influxdata / influxdata/kapacitor

AlertNode .details in slack as attachment ??

Open
#976 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Enhancement.

I've been looking to the code and playing a bit with AlertNode Slack service and it seems to send only the .message to the slack as attachment "text". It would be nice to send .message as attachment "title" and .details as attachment "text".

This is because I often use the same alert node to alert several services and, to make alert informative enough in slack I need to make .message too much verbose. and the information is duplicated in .details for other services like email or an .exec endpoint I've made to integrate pushover.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the AlertNode Slack service and the code that builds its attachment payload. Confirm how the existing message is assigned, then update the behavior so message becomes the attachment title and details becomes the attachment text; done means Slack alerts expose both fields without losing the existing integration behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.