prometheus operator v0.93.1

AlertmanagerConfig.spec.receivers.pagerdutyConfigs.httpConfig.oauth2.spec.inhibitRules.targetMatch

targetMatch defines matchers that have to be fulfilled in the alerts to be muted. The operator enforces that the alert matches the resource's namespace. When these conditions are met, matching alerts will be inhibited (silenced).

4 fields
AlertmanagerConfig.spec.receivers.pagerdutyConfigs.httpConfig.oauth2.spec.inhibitRules.targetMatch fields and descriptions
Field / TypeDescription
matchType
string

matchType defines the match operation available with AlertManager >= v0.22.0. Takes precedence over Regex (deprecated) if non-empty. Valid values: "=" (equality), "!=" (inequality), "=~" (regex match), "!~" (regex non-match).

  • enum: ["!=","=","=~","!~"]
name
string required

name defines the label to match. This specifies which alert label should be evaluated.

  • minLength: 1
regex
boolean

regex defines whether to match on equality (false) or regular-expression (true). Deprecated: for AlertManager >= v0.22.0, `matchType` should be used instead.

value
string

value defines the label value to match. This is the expected value for the specified label.