@hyperdx/cli v0.6.3
Patch Changes
-
53336f7: fix(charts): show decimals on Y-axis ticks under 10 in magnitude
The Y-axis of a time series chart (and the CLI's termchart equivalent)
always rounded tick labels to 0 decimal places, regardless of the chart's
Number Format settings. Charts whose values live under 1 (fractional
gauges, ratios, sub-1 rates) rendered every axis tick as0even though
the tooltip and legend showed the correct value.A tick under 10 in magnitude (as displayed - a percent tick's magnitude is
checked against its ×100 value, not its raw 0-1 ratio) now honors the
chart's configured decimals, capped at 2 to keep the label within the
axis's fixed width. A tick of 10 or more, and a tick of exactly 0, stay
integers exactly as before, whatever the chart's Number Format configures- so ordinary counts and the byte/percent tiles in the bundled dashboard
templates are unaffected.
- so ordinary counts and the byte/percent tiles in the bundled dashboard
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.6.3/hdx-darwin-arm64 -o hdx
# macOS Intel
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.6.3/hdx-darwin-x64 -o hdx
# Linux x64
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.6.3/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