Skip to main content

💼 Microsoft Teams

ParameterDescriptionRequired
alert.teams.webhook🔗 Webhook URLYes
alert.teams.title✏️ Custom titleNo
alert.teams.text✏️ Custom textNo

Example

apiVersion: v1
kind: Namespace
metadata:
name: kwatch
---
apiVersion: v1
kind: Secret
metadata:
name: kwatch
namespace: kwatch
stringData:
teams-webhook: "replace-me"
config.yaml: |
alert:
teams:
webhook: "${file:/config/teams-webhook}"
title: "optional customized title"
text: "optional customized text"

Routing

alert:
teams:
webhook: "${file:/config/teams-webhook}"
routes:
- namespaces: ["production"]
severities: ["high", "critical"]
- reasons: ["OOMKilled"]

Retry

alert:
teams:
webhook: "${file:/config/teams-webhook}"
retry:
maxAttempts: 5
delay: 5s

Fallback

alert:
teams:
webhook: "${file:/config/teams-webhook}"
fallback: <another_provider>

Compact mode

alert:
teams:
webhook: "${file:/config/teams-webhook}"
compact: true

Screenshot

Microsoft Teams notification screenshot