DingTalk
| Parameter | Description | Required |
|---|---|---|
alert.dingtalk.accessToken | 🔑 Access token | Yes |
alert.dingtalk.secret | 🔐 Signing secret | No |
alert.dingtalk.title | ✏️ Custom title | No |
Example
apiVersion: v1
kind: Namespace
metadata:
name: kwatch
---
apiVersion: v1
kind: ConfigMap
metadata:
name: kwatch
namespace: kwatch
data:
config.yaml: |
alert:
dingtalk:
accessToken: "YOUR_ACCESS_TOKEN"
secret: "YOUR_SECRET"
title: "optional customized title"
Routing
alert:
dingtalk:
accessToken: "YOUR_ACCESS_TOKEN"
secret: "YOUR_SECRET"
routes:
- namespaces: ["production"]
severities: ["high", "critical"]
- reasons: ["OOMKilled"]
Retry
alert:
dingtalk:
accessToken: "YOUR_ACCESS_TOKEN"
secret: "YOUR_SECRET"
retry:
maxAttempts: 5
delay: 5s
Fallback
alert:
dingtalk:
accessToken: "YOUR_ACCESS_TOKEN"
secret: "YOUR_SECRET"
fallback: <another_provider>
Compact mode
alert:
dingtalk:
accessToken: "YOUR_ACCESS_TOKEN"
secret: "YOUR_SECRET"
compact: true