influxdata / influxdata/kapacitor

Its possible to inhibit by a non-grouped tag?

Open
#2,623 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Hello there,

I have a parent tickscript that inhibits a category called "deadman_alerts" by the tag "origin":
.inhibit ('deadman_alerts', 'origin')

In the child tickscript stream, is it necessary to group by origin as well?
var groupBy = ['host'] or var groupBy = ['host', 'origin']

I have this doubt because we can use other tags that are not grouped in the where clause in the child tickscript, perhaps it was also possible to inhibit.

A greeting and thanks in advance.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the parent tickscript’s .inhibit('deadman_alerts', 'origin') is interpreted and how the child stream’s groupBy values affect matching. Compare grouping by ['host'] with ['host', 'origin'] and determine whether an ungrouped origin tag can participate in inhibition. Done means the behavior is documented or the requested support is clearly defined and covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.