influxdata / influxdata/influxdb
Add icon_emoji and username options to Slack settings
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Proposal:
Restore feature parity with Kapacitor Slack event handler by including username and icon-emoji options (https://docs.influxdata.com/kapacitor/v1.6/event_handlers/slack/)
Current behavior:
These options are not available (https://docs.influxdata.com/flux/v0.x/stdlib/slack/message/).
Desired behavior:
username and icon-emoji should be available Slack settings. Possibly consider adding icon_url as well.
Alternatives considered:
Use http.post() and handle alerting externally from Influx.
Use case:
The same Slack webhook URL may be used for multiple alerting purposes. Being able to customize the name and icon for each type of alert helps to easily distinguish the different alert types.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked Kapacitor Slack event handler documentation and the Flux Slack message documentation to understand the existing settings and feature gap. The work is done when Slack settings expose username and icon-emoji, with the issue's optional icon_url consideration resolved.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100