influxdata / influxdata/kapacitor
Using window node or time variables in template stops new tags being created
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
Ubuntu 16
Kapacitor 1.5
influx 1.5
We use kapacitor templates to manage our alerts. We send them to a Microsoft Flow API. We convert our fields to tags and send them to the API. we then drop the tags before they are sent back to the database.
When i create a template using the |window() node, or if i try to create a deadman alert template using the period variable to set the time the tags are not created when the alert is generated.
I had this problem with all templates until i removed the |window() node and stopped using period and every in my scripts. Kind of need to be able to specify a time for the deadman alert to work though.
Posted this on the forums, didn't get anywhere. Anyone got any ideas?
Contributor guide
Research direction
Start by reproducing the reported behavior with Kapacitor templates that use the window() node and the period or every variables, using the Ubuntu, Kapacitor, and Influx versions listed. Compare generated alerts with and without those variables, especially whether converted tags survive. Done means identifying a reproducible cause and confirming that tags are created in the affected template case.
Written by the indexing model from the issue text.
Assessment
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100