influxdata / influxdata/kapacitor
How to calculate the total duration of a state during an interval
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
For each consecutive point for which the expression evaluates as true, the state duration ist incremented by the duration between points.
When a point evaluates as false, the state duration is reset.
My problem is that i want to get the total duration of a state without reseting it for each batch.
Any simple solutions for that ?
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by reading Kapacitor's state-duration and batch-processing documentation or implementation to determine whether duration can persist across batches; done should be a documented, supported way to calculate the total duration without resetting it.
Written by the indexing model from the issue text.
Assessment
- Domain
- stream-processing
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100