influxdata / influxdata/kapacitor
Need more built in functions
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
Hi
Now if I want to caculate mean or stddev, I can use influxql, but influxql will discarde the original fields.
I want to keep the orginal fileds in my alert message.
I found that EvalNode has a property of keep which can preserve original fields, but only sigma can be used in evalnode. Is there any plan to add more functions like mean, sum, max ?
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 with the EvalNode implementation and its keep property, then trace how sigma is currently supported and how InfluxQL aggregation affects alert fields. Define the expected behavior for mean, sum, and max while retaining original fields, and verify it with the relevant existing tests or new cases identified during that review.
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
- Mostly clear
- Newbie friendliness
- 35/100