prometheus operator v0.93.1

AlertmanagerConfig.spec.receivers.msteamsConfigs.httpConfig.oauth2.spec.receivers.telegramConfigs

telegramConfigs defines the list of Telegram configurations.

10 fields
AlertmanagerConfig.spec.receivers.msteamsConfigs.httpConfig.oauth2.spec.receivers.telegramConfigs fields and descriptions
Field / TypeDescription
apiURL
string

apiURL defines the Telegram API URL, e.g. https://api.telegram.org. If not specified, the default Telegram API URL will be used.

  • pattern: ^https?://.+$
object

botToken defines the Telegram bot token. It is mutually exclusive with `botTokenFile`. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. Either `botToken` or `botTokenFile` is required.

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

botTokenFile defines the file to read the Telegram bot token from. It is mutually exclusive with `botToken`. Either `botToken` or `botTokenFile` is required. It requires Alertmanager >= v0.26.0.

chatID
integer required

chatID defines the Telegram chat ID where messages will be sent. This can be a user ID, group ID, or channel ID (with @ prefix for public channels).

  • format: int64
disableNotifications
boolean

disableNotifications controls whether Telegram notifications are sent silently. When true, users will receive the message without notification sounds.

object

httpConfig defines the HTTP client configuration for Telegram API requests.

message
string

message defines the message template for the Telegram notification. This is the content that will be sent to the specified chat.

messageThreadID
integer

messageThreadID defines the Telegram Group Topic ID for threaded messages. This allows sending messages to specific topics within Telegram groups. It requires Alertmanager >= 0.26.0.

  • format: int64
parseMode
string

parseMode defines the parse mode for telegram message formatting. Valid values are "MarkdownV2", "Markdown", and "HTML". This determines how text formatting is interpreted in the message.

  • enum: ["MarkdownV2","Markdown","HTML"]
sendResolved
boolean

sendResolved defines whether or not to notify about resolved alerts.