influxdata / influxdata/influxdb

Add icon_emoji and username options to Slack settings

Open
#24,138 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/flux kind/feature-request
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.