prometheus operator v0.93.1

AlertmanagerConfig.spec.receivers[].slackConfigs[].actions[]

SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.

7 fields
AlertmanagerConfig.spec.receivers[].slackConfigs[].actions[] fields and descriptions
Field / TypeDescription
object

confirm defines an optional confirmation dialog that appears before the action is executed. When set, users must confirm their intent before the action proceeds.

name
string

name defines a unique identifier for the action within the message. This value is sent back to your application when the action is triggered.

  • minLength: 1
style
string

style defines the visual appearance of the action element. Valid values include "default", "primary" (green), and "danger" (red).

  • minLength: 1
text
string required

text defines the user-visible label displayed on the action element. For buttons, this is the button text. For select menus, this is the placeholder text.

  • minLength: 1
type
string required

type defines the type of interactive component. Common values include "button" for clickable buttons and "select" for dropdown menus.

  • minLength: 1
url
string

url defines the URL to open when the action is triggered. Only applicable for button-type actions. When set, clicking the button opens this URL.

value
string

value defines the payload sent when the action is triggered. This data is included in the callback sent to your application.

  • minLength: 1