influxdata / influxdata/kapacitor

Add Previous state

Open
#1,408 6 comments 1 reaction 0 assignees View on GitHub
difficulty-easy help wanted
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Hi,
I wanted to if there is a way to get previous state in the alert node?
meaning when I raise a critical alert for a certain system metric(say cpu usage) I get the level of the alert as 'CRITICAL' and if the usage comes down but still is high enough to raise a 'WARN' alert then I would want to know what the previous state was (in this case 'CRITICAL').Is there a way to know about the previous state??
Any help is appreciated!
Thanks in advance!

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the alert node and its existing state-related behavior, then determine how a CRITICAL-to-WARN transition should expose the prior state. Done means the behavior is clearly specified and covered for that transition.

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.