prometheus operator v0.93.1

AlertmanagerConfig.spec.receivers.opsgenieConfigs.httpConfig.oauth2.spec.inhibitRules.sourceMatch

sourceMatch defines matchers for which one or more alerts have to exist for the inhibition to take effect. The operator enforces that the alert matches the resource's namespace. These are the "trigger" alerts that cause other alerts to be inhibited.

4 fields
AlertmanagerConfig.spec.receivers.opsgenieConfigs.httpConfig.oauth2.spec.inhibitRules.sourceMatch 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.