prometheus operator v0.93.1

AlertmanagerConfig.spec.receivers[].webhookConfigs.httpConfig.authorization.spec.route

route defines the Alertmanager route definition for alerts matching the resource's namespace. If present, it will be added to the generated Alertmanager configuration as a first-level route.

10 fields
AlertmanagerConfig.spec.receivers[].webhookConfigs.httpConfig.authorization.spec.route fields and descriptions
Field / TypeDescription
string[]

activeTimeIntervals is a list of MuteTimeInterval names when this route should be active.

  • x-kubernetes-list-type: "set"
continue
boolean

continue defines the boolean indicating whether an alert should continue matching subsequent sibling nodes. It will always be overridden to true for the first-level route by the Prometheus operator.

string[]

groupBy defines the list of labels to group by. Labels must not be repeated (unique list). Special label "..." (aggregate by all possible labels), if provided, must be the only element in the list.

  • x-kubernetes-list-type: "set"
groupInterval
string

groupInterval defines how long to wait before sending an updated notification. Must be greater than 0. Example: "5m"

  • minLength: 1
  • pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
groupWait
string

groupWait defines how long to wait before sending the initial notification. Example: "30s"

  • minLength: 1
  • pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
object[]

matchers defines the list of matchers that the alert's labels should match. For the first level route, the operator removes any existing equality and regexp matcher on the `namespace` label and adds a `namespace: <object namespace>` matcher.

  • x-kubernetes-list-type: "atomic"
string[]

muteTimeIntervals is a list of MuteTimeInterval names that will mute this route when matched,

  • x-kubernetes-list-type: "set"
receiver
string

receiver defines the name of the receiver for this route. If not empty, it should be listed in the `receivers` field.

repeatInterval
string

repeatInterval defines how long to wait before repeating the last notification. Must be greater than 0. Example: "4h"

  • minLength: 1
  • pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
any[]

routes defines the child routes.

  • x-kubernetes-list-type: "atomic"