Matrix alerts
Send kwatch incident alerts to Matrix. Use the interactive manager for installation and credential setup. This page explains the provider fields and shows a minimal configuration fragment.
Before you start, have these values ready:
homeServerโ HomeServer URL.accessTokenโ Access token.internalRoomIdโ Room ID.
For a guided setup, use the Matrix channel guide.
Credentials, tokens, keys, passwords, and webhook URLs must be mounted
from a Kubernetes Secret. Use an exact ${file:/absolute/path} reference
for every field marked Secret.
Configurationโ
| Field | Type | Required | Secret | Validation | Default | Description |
|---|---|---|---|---|---|---|
homeServer | string | yes | no | url | โ | HomeServer URL |
accessToken | string | yes | yes | โ | โ | Access token |
internalRoomId | string | yes | no | โ | โ | Room ID |
title | string | no | no | โ | โ | Custom title |
text | string | no | no | โ | โ | Custom text |
routes | json | no | no | json | โ | Optional JSON route filters. |
retry.maxAttempts | integer | no | no | integer | โ | Optional maximum retry attempts. |
retry.delay | string | no | no | โ | โ | Optional retry delay, for example 5s. |
fallback | string | no | no | โ | โ | Optional fallback provider name. |
Minimal exampleโ
alert:
matrix:
homeServer: <homeServer>
accessToken: "${file:/config/matrix-accessToken}"
internalRoomId: <internalRoomId>
Add routes, retry, and fallback when you need delivery filtering or recovery. See the channels overview for guidance, or the complete provider reference for the catalog-wide view.