AlertmanagerConfig.spec.receivers.wechatConfigs.httpConfig.basicAuth.spec.receivers.slackConfigs
slackConfigs defines the list of Slack configurations.
| Field / Type | Description |
|---|---|
actions defines a list of Slack actions that are sent with each notification.
| |
apiURL defines the secret's key that contains the Slack webhook URL. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
| |
callbackId | callbackId defines an identifier for the message used in interactive components.
|
channel | channel defines the channel or user to send notifications to.
|
color | color defines the color of the left border of the Slack message attachment. Can be a hex color code (e.g., "#ff0000") or a predefined color name.
|
fallback | fallback defines a plain-text summary of the attachment for clients that don't support attachments.
|
fields defines a list of Slack fields that are sent with each notification.
| |
footer | footer defines small text displayed at the bottom of the message attachment.
|
httpConfig defines the HTTP client configuration. | |
iconEmoji | iconEmoji defines the emoji to use as the bot's avatar (e.g., ":ghost:").
|
iconURL | iconURL defines the URL to an image to use as the bot's avatar. |
imageURL | imageURL defines the URL to an image file that will be displayed inside the message attachment. |
linkNames | linkNames enables automatic linking of channel names and usernames in the message. When true, @channel and @username will be converted to clickable links. |
messageText | messageText defines text content of the Slack message. If set, this is sent as the top-level 'text' field in the Slack payload. It requires Alertmanager >= v0.31.0.
|
mrkdwnIn defines which fields should be parsed as Slack markdown. Valid values include "pretext", "text", and "fields".
| |
pretext | pretext defines optional text that appears above the message attachment block.
|
sendResolved | sendResolved defines whether or not to notify about resolved alerts. |
shortFields | shortFields determines whether fields are displayed in a compact format. When true, fields are shown side by side when possible. |
text | text defines the main text content of the Slack message attachment.
|
thumbURL | thumbURL defines the URL to an image file that will be displayed as a thumbnail on the right side of the message attachment. |
timeout | 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.30.0.
|
title | title defines the title text displayed in the Slack message attachment.
|
titleLink | titleLink defines the URL that the title will link to when clicked. |
updateMessage | updateMessage enables updating existing Slack messages instead of creating new ones when alert state changes. Please note that Webhook URLs do not support updates. It requires Alertmanager >= v0.32.0. |
username | username defines the slack bot user name.
|