influxdata / influxdata/kapacitor

Feature/Idea - Bank holidays in alert node

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

Hi Team,

That could be very useful to be able to define list of day for bank holidays for attach them to a dedicated rules.

**Reason**
During bank holidays, activity (e-commerce/platform/network) are not the same as weekend or week days. For avoid a flood of alert during those days (bank holidays),

**How**
Maybe a filter or something like that will be very interesting in alert node.
Only the days & the month should be defined because that's recurrent every year. Format should be defined and documented : MM/DD or DD/MM or MM-DD or DD-MM
Something inside alert node as :
```
|alert
.bankholidays('01/05','02/03',)
.critbankholidays(lambda:)
```

Again here this proposal is an idea and i'm sure you'll provide us a better way for manage this.

Contributor guide

Open the contributing guide

Research direction

No implementation file or test is named. Start by locating the alert node and its rule or filter handling, then review how recurring calendar conditions are represented and documented. Done means agreeing on the holiday-date format and behavior before implementing and testing the feature.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.