influxdata / influxdata/kapacitor
Mean Stateful function should accompany the Sigma Stateful function
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
The only output of sigma function is the standard deviations away from average, but without the average it's hard to reason if the value is higher or lower than normal without looking at the accompanying data.
For us, in some cases, whether recent activity is higher than normal or lower than normal is important, we'd like to differentiate in our alert criteria.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Sigma Stateful function implementation and its tests in the Kapacitor repository. Define how a companion mean value should be exposed alongside Sigma, add coverage for higher- and lower-than-normal activity, and verify the resulting alert criteria behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability-sre, stream-processing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100