Skip to main content

Matrix

ParameterDescriptionRequired
alert.matrix.homeServer🖥️ HomeServer URLYes
alert.matrix.accessToken🔑 Access tokenYes
alert.matrix.internalRoomID🆔 Room IDYes
alert.matrix.title✏️ Custom titleNo
alert.matrix.text✏️ Custom textNo

Example

apiVersion: v1
kind: Namespace
metadata:
name: kwatch
---
apiVersion: v1
kind: ConfigMap
metadata:
name: kwatch
namespace: kwatch
data:
config.yaml: |
alert:
matrix:
homeServer: "https://matrix.example.com"
accessToken: "YOUR_ACCESS_TOKEN"
internalRoomID: "!roomid:example.com"
title: "optional customized title"
text: "optional customized text"

Routing

alert:
matrix:
homeServer: "https://matrix.example.com"
accessToken: "YOUR_ACCESS_TOKEN"
internalRoomID: "!roomid:example.com"
routes:
- namespaces: ["production"]
severities: ["high", "critical"]
- reasons: ["OOMKilled"]

Retry

alert:
matrix:
homeServer: "https://matrix.example.com"
accessToken: "YOUR_ACCESS_TOKEN"
internalRoomID: "!roomid:example.com"
retry:
maxAttempts: 5
delay: 5s

Fallback

alert:
matrix:
homeServer: "https://matrix.example.com"
accessToken: "YOUR_ACCESS_TOKEN"
internalRoomID: "!roomid:example.com"
fallback: <another_provider>

Compact mode

alert:
matrix:
homeServer: "https://matrix.example.com"
accessToken: "YOUR_ACCESS_TOKEN"
internalRoomID: "!roomid:example.com"
compact: true

Screenshot

Matrix notification screenshot