influxdata / influxdata/influxdb
influxdb2 does not send notifications
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
I setup influxdb2 to send alerts to our slack channel.
I see only alerts that were sent 4 days ago and no alerts received to slack channel
for debugging, I created a flask app to listen as an http endpoint, and created an http notification rule to route all the alerts to the flask app. I see no requests
__Steps to reproduce:__
1. Setup an alert
2. Setup slack notification endpoint
3. Create alert that set the status to Critical
4. Go to the alert history page and check the alert was sent
__Expected behavior:__
Alerts will be delievered
__Actual behavior:__
Describe What actually happened.
__Environment info:__
* System info: Linux 5.3.0-1023-aws x86_64
* InfluxDB version: InfluxDB 2.0.0-beta.13 (git: 86796ddf2d) build_date: 2020-06-28T06:23:47Z
* Other relevant environment details: influxd runs as a daemon on Ubuntu OS
__Config:__
/usr/sbin/influxd run --engine-path /influx/engine --bolt-path /influx/boltdb.db --http-bind-address 127.0.0.1:9999 --log-level info
**The last time alerts were sent was 4 days ago:**

Contributor guide
Research direction
Start by reproducing the alert flow described: create a Critical alert, route it through Slack and an HTTP notification rule, and inspect the alert history page and Flask endpoint. The payload names no source files or tests, so trace the notification entry points used by the configured influxd command. Done means alerts produce requests and are delivered to the configured destination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, linux, python, ubuntu
- Domain
- backend, databases, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100