prometheus operator v0.93.1

AlertmanagerConfig.spec.muteTimeIntervals.timeIntervals.weekdays.spec.receivers.webhookConfigs

webhookConfigs defines the List of webhook configurations.

7 fields
AlertmanagerConfig.spec.muteTimeIntervals.timeIntervals.weekdays.spec.receivers.webhookConfigs fields and descriptions
Field / TypeDescription
object

httpConfig defines the HTTP client configuration for webhook requests.

maxAlerts
integer

maxAlerts defines the maximum number of alerts to be sent per webhook message. When 0, all alerts are included in the webhook payload.

  • format: int32
  • minimum: 0
payload
string

payload define custom payload to be sent to the webhook endpoint. This is an advanced configuration option that allows you to define a custom payload using Go templates. It requires Alertmanager >= v0.32.0.

  • minLength: 1
sendResolved
boolean

sendResolved defines whether or not to notify about resolved alerts.

timeout
string

timeout defines the maximum time to wait for a webhook request to complete, before failing the request and allowing it to be retried. It requires Alertmanager >= v0.28.0.

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

url defines the URL to send HTTP POST requests to. urlSecret takes precedence over url. One of urlSecret and url should be defined.

object

urlSecret defines the secret's key that contains the webhook URL to send HTTP requests to. urlSecret takes precedence over url. One of urlSecret and url should be defined. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.

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