Repository navigation
@hyperdx/cli v0.8.0
Minor Changes
-
0b1e078: Add dashboard and saved-search authoring commands to the CLI:
hdx dashboards list(default subcommand) gains--queryname filtering and--format table|json|csvhdx dashboards export --id <id-or-name>prints a dashboard definition as JSON, round-trip compatible with importhdx dashboards createaccepts either a full definition (--file <json>) or inline charts (--name+ repeatable--chart/--chart-file, with automatic grid layout), plus--if-not-existshdx dashboards import --file <json>recreates an exported dashboard, with--if-not-existsand--name-overridehdx saved-searchescommand group:listandcreate(--name/--source/--where/--where-language/--select/--order-by/--tags)
Definitions are validated locally against the shared schema before being sent, and missing tile ids are generated automatically. Also fixes
getSavedSearches()to call the correct/saved-searchAPI path (the previous/saved-searchespath always returned 404).
Patch Changes
- 5253b86: fix: Stop abbreviating values between 500 and 999 as "0.5k"/"0.8k" on chart axes and in large number format
Installation
npm (recommended):
npm install -g @hyperdx/cliOr run directly with npx:
npx @hyperdx/cli tui -s <your-hyperdx-api-url>Manual download (standalone binary, no Node.js required):
# macOS Apple Silicon
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.8.0/hdx-darwin-arm64 -o hdx
# macOS Intel
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.8.0/hdx-darwin-x64 -o hdx
# Linux x64
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.8.0/hdx-linux-x64 -o hdx
chmod +x hdx && sudo mv hdx /usr/local/bin/Usage
hdx auth login -s <your-hyperdx-api-url>
hdx tui