Integrations
KubeSense delivers alerts through multiple notification channels. Configure one or more channels and associate them with alert rules for flexible routing. Each channel type has its own setup page:
- Slack (Webhook) — post to a single channel via an incoming webhook
- Slack (App) — connect a workspace once, then alert to any channel
- Microsoft Teams
- PagerDuty
- Datadog On-Call
- Jira Service Management (On-Call) — formerly Opsgenie
- Google Chat
- Webhook — POST alerts to any HTTP endpoint
Creating a Notification Channel
Navigate to Alerts in the sidebar and open the notification channel settings. Click to add a new channel.

| Field | Description |
|---|---|
| Name | A unique name for the channel |
| Matching Labels | Optional key-value matchers for label-based routing (e.g., severity = critical) |
| Type | The channel type — see the pages above |
| Batch further changes for | How long to collect further changes before notifying again — see Notification timing |
| Remind me every | How often to re-send while an alert stays firing — see Notification timing |
After selecting a type, provide the required configuration fields (on the type's page), then save the channel.
Alert Routing
There are two ways to route alerts to notification channels:
Direct Assignment
When creating an alert rule, select one or more notification channels from the Notification Channel list in the Alert Routing section. All alerts from that rule are sent to each selected channel.
Label-Based Routing (Notification Channel Policy)
Configure Matching Labels on a notification channel to enable automatic routing. When an alert fires, its labels are compared against the matching labels of all channels. If a channel's matchers match the alert's labels, that channel receives the notification.
This enables patterns like:
- Channel with
severity = criticalreceives all critical alerts - Channel with
team = platformreceives all alerts labeled for the platform team - Channel with no matchers acts as a catch-all for unmatched alerts
Multiple channels can match a single alert, allowing you to send the same alert to both Slack and PagerDuty simultaneously. The rule's Notify setting decides whether every matching channel is notified (All matching channels, the default for new rules) or only the most recently created one (First matching channel only). See Alert Routing.
Which wins
A channel picked on the rule always wins. An alert addressed to chosen channels goes to exactly those — another channel's matching labels, or a catch-all channel, never receives it too. Label-based routing applies only to rules that use a Notification Channel Policy.
Notification timing
Two settings on each channel control how often it is notified:
| Setting | Default | |
|---|---|---|
| Batch further changes for | 1m (also the minimum) | After a notification, how long to collect further changes to the same group — new alerts, recoveries, severity changes — before sending the next message |
| Remind me every | 1h | How often to re-send while an alert stays firing and nothing changes |
Durations are written like 30s, 5m, 1h30m. A reminder is only sent at the end
of a batch, so a reminder interval that isn't a multiple of the batch interval is
rounded up — 12m with 5m batches reminds every 15m.
A rule can override both for itself, on every channel it notifies — see Notification timing on the rule.
Testing Channels
After creating a notification channel, use the Test action to send a test notification and verify connectivity before associating it with alert rules.
To check a rule's routing end to end — which channels its alerts actually reach — use Send test alert in the rule editor.
Notification Content
All notification channels receive the same core alert information:
| Field | Description |
|---|---|
| Alert Name | Name of the alert rule |
| Status | firing or resolved |
| Severity | critical, error, warning, or info |
| Value | The evaluated metric value that triggered the alert |
| Threshold | The configured threshold and operator (e.g., greater_than 100) |
| Description | Alert description text |
| Labels | All labels attached to the alert (including group-by values for multi-series alerts) |
| Started | Timestamp when the alert started firing |
| Link | Direct link to view the alert in KubeSense |
For batched notifications (multiple alerts grouped together), the title includes
firing and resolved counts — for example, [FIRING:6, RESOLVED:1] Logs Availability.
- Worst first. The built-in Slack, Email, Teams and Jira Service Management messages list firing alerts worst first, up to 10, and count the rest — …and N more firing, not listed here. Resolved alerts are capped at 10 the same way. Channels using a custom message template are unchanged.
- Your timezone in Slack. With Slack (App), times in the message are shown in each reader's own timezone. Other channels show UTC.
- Graphs. A rule can attach a chart of the evaluation to its firing notifications — see Graphs in notifications.
- Links to logs and traces. A rule's description can link straight to the logs or traces behind the alert — see Links to logs and traces.
Encryption & key rotation
The token-based integrations — Slack (App) and Jira Service Management —
store their secret encrypted at rest with the server env var
KUBECOL_CONFIG_KEK (the same key used for cloud credentials). Keep this in mind:
KUBECOL_CONFIG_KEKmust be set on the API, and identical across every instance that shares the database (e.g. local + hosted) and stable across redeploys — a secret encrypted by one instance can only be read by an instance with the same key.- The scheme has a single key with no versioning or re-wrap, so if the key is rotated or changed, previously-stored secrets can no longer be decrypted.
To recover after a key change (or if a secret was connected on a different instance), re-enter the secret on the current instance so it re-encrypts with the new key:
- Slack (App): use Reconnect on the channel and paste the bot token again.
- JSM: open the channel and re-save it with the API key.
KubeSense surfaces this automatically — a Slack (App) channel whose token can't be decrypted shows a "needs to be reconnected" prompt instead of a broken channel picker.