Notification channel support in Infrastructure as code
Keeping alerting configuration in sync across environments has always been tedious. You can now manage notification channels — Slack, PagerDuty, email, webhooks, and more — as code using the Dash0 CLI, Terraform provider, and Kubernetes operator.
Notification channels control where Dash0 sends alerts when check rules fire. Until now they could only be configured through the UI, which made it difficult to version-control, review, and replicate them across organizations. With IaC support, you define a channel once in a YAML file and apply it from your terminal, CI/CD pipeline, or GitOps workflow.
How it works
Each notification channel is defined as a CRD-enveloped YAML document with kind: Dash0NotificationChannelCopy. The spec.typeCopy field selects the channel type (one of 17 supported integrations), and spec.configCopy holds the type-specific settings such as webhook URLs or Slack channel names. Notification channels are organization-level resources, so no --datasetCopy flag is required.
Dash0 CLI
Available since v1.9.0:
# Create a notification channel from a YAML file
dash0 -X notification-channels create -f slack-alerts.yaml
# List all notification channels
dash0 -X notification-channels list
# Get a single notification channel as YAML
dash0 -X notification-channels get <id> -o yaml
# Update an existing notification channel
dash0 -X notification-channels update <id> -f slack-alerts-updated.yaml
# Delete a notification channel
dash0 -X notification-channels delete <id>
Terraform provider
Available since v1.8.0:
resource "dash0_notification_channel" "slack_alerts" {
notification_channel_yaml = file("${path.module}/channels/slack-alerts.yaml")
}
Import existing channels with terraform import dash0_notification_channel.slack_alerts <origin>.
Kubernetes operator
Available since v0.136.0:
apiVersion: operator.dash0.com/v1alpha1
kind: Dash0NotificationChannel
metadata:
name: slack-alerts
namespace: monitoring
spec:
content: |
kind: Dash0NotificationChannel
metadata:
name: Slack Alerts
spec:
type: slack
config:
url: "https://hooks.slack.com/services/T00/B00/xxxx"
frequency: 10m
The operator syncs the channel to Dash0 and reports status back on the custom resource.

Fetched June 3, 2026



