influxdata / influxdata/kapacitor
Setting tag in eval not persisted in alerts
Open
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
For example tag value is not persisted.
|eval(lambda: string("last_value"))
.as('value')
.keep('value')
.tags('value')
|alert()
.crit(lambda: "value" <= 0)
Now the alert data should have a tag for value along with all the group by. But apparently that is not the case.
Contributor guide
Research direction
Reproduce the issue with the eval, keep, tags, and alert pipeline shown in the report. Trace how the alert data is assembled and verify that the value tag is retained alongside the group-by tags when the behavior is fixed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100