Releases: dash0hq/dash0-cli
Releases · dash0hq/dash0-cli
v1.7.0
Enhancements
output: Theupdateandapplycommands now show a unified diff of changes (#66)dashboards:<asset> list -o yamland-o jsonnow output full asset definitions instead of summary list items (#67)
YAML output is a multi-document stream (separated by---) that can be piped directly todash0 apply -f -.
JSON output is an array of full asset definitions.
This applies to all four asset types: dashboards, check-rules, views, and synthetic-checks.
v1.6.0
v1.5.4
v1.5.3
v1.5.2
Enhancements
errors: Include API response body in error messages when the backend does not return a structured error (#75)
Previously, errors like 400 Bad Request only showed the HTTP status code and trace ID.
Now, the full response body is displayed so that users can see the reason for the failure.dashboards: Make the<id>argument ofdash0 <asset> updateoptional (#76)
When the<id>argument is omitted, the ID is extracted from the file content.
This applies to all asset types: dashboards, check rules, synthetic checks, and views.
Bug Fixes
dashboards: Fixdashboards updateoverwritingdash0Extensions.idwith the origin string (#77)
Unify ID and name extraction betweenapplyand per-asset CRUD commands by
delegating to sharedExtract*functions ininternal/asset/.dashboards: Stop force-setting origin in asset update commands (#78)
Thesynthetic-checks update,views update, andcheck-rules updatecommands
were force-setting the origin to"dash0-cli", causing 400 errors when updating
assets originally created with a different origin.
v1.5.1
Bug Fixes
views: Fix view deeplink URLs to use the correct path for each view type (#72)
Previously, all view deeplinks used/goto/logsregardless of view type.
Now each view type maps to its correct deeplink path (e.g.,/goto/traces/explorerfor span views,/goto/metrics/explorerfor metric views).
Theviews listoutput also includes a new TYPE column.
v1.5.0
New Components
teams: Add experimental team and member management commands (#47)
Newteamscommands: list, get, create, update, delete, add-members, remove-members.
Newmemberscommands: list, invite, remove.
All commands require the--experimental(-X) flag.
Enhancements
assets: Add CSV output format to asset list commands (#62)
Thedashboards list,check-rules list,views list, andsynthetic-checks listcommands now accept-o csv.
CSV output includes all columns from thewideformat (name, id, dataset, origin, url).query:--columnflag forlogs query,spans query, andtraces getto customize displayed columns (#56)
Users can now select which columns appear in table and CSV output using repeatable--columnflags.
Predefined columns have short aliases (e.g.,time,severity,bodyfor logs).
Any OTLP attribute key can be used as a column, enabling ad-hoc display of arbitrary attributes.
v1.4.0
New Components
spans: Addspans querycommand to query spans from Dash0 (#51)
Supports table, CSV, and OTLP JSON output formats with filtering, time range selection, and pagination.spans: Addspans sendcommand to send spans to Dash0 via OTLP (#51)
Supports span kind, status, duration, trace/span ID (auto-generated or explicit), parent span, span links, resource/span/scope attributes, and custom instrumentation scope.traces: Addtraces getcommand to retrieve all spans in a trace from Dash0 (#51)
Displays spans in table, JSON (OTLP/JSON), or CSV format.
Table output shows timestamp, duration, trace ID, span ID, parent ID, span name, status, service name, and span links. Supports--follow-span-linksto recursively fetch traces linked through span links.
Enhancements
logs: Color-code severity levels inlogs querytable output (#46)
Severity levels (FATAL, ERROR, WARN, DEBUG, TRACE) are now color-coded when output is a terminal.
A new global--colorflag (env:DASH0_COLOR) controls color output:semantic(default) ornone.output: Add--skip-headerflag to suppress the header row in tabular output formats (#50)
Available on all assetlistcommands (table and wide formats),config profiles listandlogs query(table and CSV formats).
v1.3.0
v1.2.0
New Components
github-actions:send-log-eventGitHub Action to send log events to Dash0 directly from your GitHub workflows. (#40)
The action is standalone and installs the Dash0 CLI automatically.
If thesetupaction has already run, the existing installation is reused.
Enhancements
assets: Add deeplink URLs togetandlist -o wideoutput for all asset types (#36)
Thegetcommand now shows aURLfield linking directly to the asset in the Dash0 web UI.
Thelist -o widecommand includes aURLcolumn with deeplink URLs for each asset.