prometheus operator v0.93.1

AlertmanagerConfig.spec.muteTimeIntervals.timeIntervals.weekdays.spec.receivers.rocketchatConfigs

rocketchatConfigs defines the list of RocketChat configurations. It requires Alertmanager >= 0.28.0.

18 fields
AlertmanagerConfig.spec.muteTimeIntervals.timeIntervals.weekdays.spec.receivers.rocketchatConfigs fields and descriptions
Field / TypeDescription
object[]

actions defines interactive actions to include in the message. These appear as buttons that users can click to trigger responses.

  • minItems: 1
  • x-kubernetes-list-type: "atomic"
apiURL
string

apiURL defines the API URL for RocketChat. Defaults to https://open.rocket.chat/ if not specified.

  • pattern: ^https?://.+$
channel
string

channel defines the channel to send alerts to. This can be a channel name (e.g., "#alerts") or a direct message recipient.

  • minLength: 1
color
string

color defines the message color displayed in RocketChat. This appears as a colored bar alongside the message.

  • minLength: 1
emoji
string

emoji defines the emoji to be displayed as an avatar. If provided, this emoji will be used instead of the default avatar or iconURL.

  • minLength: 1
object[]

fields defines additional fields for the message attachment. These appear as structured key-value pairs within the message.

  • minItems: 1
  • x-kubernetes-list-type: "atomic"
object

httpConfig defines the HTTP client configuration for RocketChat API requests.

iconURL
string

iconURL defines the icon URL for the message avatar. This displays a custom image as the message sender's avatar.

imageURL
string

imageURL defines the image URL to display within the message. This embeds an image directly in the message attachment.

linkNames
boolean

linkNames defines whether to enable automatic linking of usernames and channels. When true, @username and #channel references become clickable links.

sendResolved
boolean

sendResolved defines whether or not to notify about resolved alerts.

shortFields
boolean

shortFields defines whether to use short fields in the message layout. When true, fields may be displayed side by side to save space.

text
string

text defines the message text to send. This is optional because attachments can be used instead of or alongside text.

  • minLength: 1
thumbURL
string

thumbURL defines the thumbnail URL for the message. This displays a small thumbnail image alongside the message content.

title
string

title defines the message title displayed prominently in the message. This appears as bold text at the top of the message attachment.

  • minLength: 1
titleLink
string

titleLink defines the URL that the title will link to when clicked. This makes the message title clickable in the RocketChat interface.

  • minLength: 1
object required

token defines the sender token for RocketChat authentication. This is the personal access token or bot token used to authenticate API requests. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.

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

tokenID defines the sender token ID for RocketChat authentication. This is the user ID associated with the token used for API requests. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.

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