prometheus operator v0.93.1

AlertmanagerConfig.spec.receivers.victoropsConfigs.httpConfig.oauth2.spec.receivers.wechatConfigs

wechatConfigs defines the list of WeChat configurations.

11 fields
AlertmanagerConfig.spec.receivers.victoropsConfigs.httpConfig.oauth2.spec.receivers.wechatConfigs fields and descriptions
Field / TypeDescription
agentID
string

agentID defines the application agent ID within WeChat Work. This identifies which WeChat Work application will send the notifications.

  • minLength: 1
object

apiSecret defines the secret's key that contains the WeChat API key. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.

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

apiURL defines the WeChat API URL. When not specified, defaults to the standard WeChat Work API endpoint.

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

corpID defines the corp id for authentication. This is the unique identifier for your WeChat Work organization.

  • minLength: 1
object

httpConfig defines the HTTP client configuration for WeChat API requests.

message
string

message defines the API request data as defined by the WeChat API. This contains the actual notification content to be sent.

  • minLength: 1
messageType
string

messageType defines the type of message to send. Valid values include "text", "markdown", and other WeChat Work supported message types.

  • minLength: 1
sendResolved
boolean

sendResolved defines whether or not to notify about resolved alerts.

toParty
string

toParty defines the target department(s) to receive the notification. Can be a single department ID or multiple department IDs separated by '|'.

  • minLength: 1
toTag
string

toTag defines the target tag(s) to receive the notification. Can be a single tag ID or multiple tag IDs separated by '|'.

  • minLength: 1
toUser
string

toUser defines the target user(s) to receive the notification. Can be a single user ID or multiple user IDs separated by '|'.

  • minLength: 1