One consistent interface for every asset type
Dashboards, check rules, views, and synthetic checks all share the same set of subcommands:
12345dash0 dashboards listdash0 check-rules get <id>dash0 views create -f view.yamldash0 synthetic-checks update <id> -f check.yamldash0 dashboards delete <id>
list, get, create, update, delete: the same verbs, the same flags, the same output formats across every asset type. No need to learn a different interface for each one.
Export, edit, re-apply
The get command with -o yaml or -o json gives you the full asset definition, ready for editing:
123dash0 dashboards get <id> -o yaml > dashboard.yaml# edit dashboard.yamldash0 dashboards update <id> -f dashboard.yaml
The apply command: GitOps for observability
apply is the single command that ties it all together.Point it at a file or a directory, and it figures out the rest:
12345# Apply a single filedash0 apply -f dashboard.yaml# Apply an entire directory recursivelydash0 apply -f assets/
The command auto-detects whether each asset needs to be created or updated. Multi-document YAML files (separated by ---) let you bundle related assets into a single file. Hidden files and directories are skipped, so your .git folder stays out of the way.
Prometheus alerting rules, native in Dash0
Already have Prometheus alerting rules? The CLI accepts PrometheusRule CRD files directly:
12dash0 check-rules create -f prometheus-rules.yamldash0 apply -f prometheus-rules.yaml
Each alerting rule in the CRD becomes a Dash0 check rule. Recording rules are skipped automatically. No manual conversion required.
Multiple output formats
Every list and get command supports table, wide, json, yaml, and csv output. Use wide for a quick overview that includes dataset, origin, and URL. Use csv with --skip-header for machine-readable automation.
Get started
123456789export DASH0_API_URL=... # Get the value at https://app.dash0.com/goto/settings/endpoints?endpoint_type=api_httpexport DASH0_AUTH_TOKEN=... # Get the value at https://app.dash0.com/goto/settings/auth-tokens# See what you havedash0 dashboards list# Export, tweak, and re-applydash0 dashboards get <id> -o yaml > my-dashboard.yamldash0 apply -f my-dashboard.yaml
Asset management is available in all stable releases of the Dash0 CLI: no experimental flag needed.