influxdata / influxdata/kapacitor

Multiple sources for alerts

Open
#1,789 0 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

I have 2 InfluxDB sources setup each with their one Kapacitor definition.

I need for each of these sources to use the appropriate Kapacitor setup when sending alerts.

The problem I'm having is that when I connect to a source alerts from the source I'm not currently connected are sent to that connected source's Slack channel. These sources are for different customers so I can't have this be happening since the alerts include the customer name and hostname.

No matter which source I am currently viewing in Chronograf the TickScripts show.

What is the recommend method for having multiple customers on the same Chronograf, Kapacitor, InfluxDB server and sending alerts to different Slack channels based on the customer?

Thanks!

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing how Kapacitor associates alert definitions and Slack channels with multiple InfluxDB sources, then reproduce the behavior with two customer configurations; done means alerts from each source consistently use only that customer's channel.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.