DataHub

Notification Channels

Configure Slack, email, Telegram, and HTTP destinations for rule actions.

Channels (/channels) define reusable notification destinations referenced by rule actions.

Channel types

TypeSetup
SlackIncoming webhook URL
EmailUses SMTP settings from server environment (SMTP_* vars)
TelegramBot token and chat ID
HTTPTarget URL; payload sent as JSON POST

Create a channel

  1. Go to Channels → Add
  2. Select the channel type and fill in configuration
  3. Save and reference the channel when creating rule actions

Environment configuration

Email delivery requires SMTP credentials in deploy/.env:

SMTP_HOST=
SMTP_PORT=
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=

Slack and Telegram credentials are stored per channel in the database.

Testing

Create a test rule with a short duration threshold on a demo tag, attach your channel, and verify delivery. For HTTP, inspect the webhook test log at GET /api/webhooks/test/log.

Permissions

Requires channels.create to add channels and channels.update to edit. Operators typically have create/update but not delete.