Skip to content

more units for charts#2004

Open
gingerwizard wants to merge 2 commits intohyperdxio:mainfrom
gingerwizard:more_units
Open

more units for charts#2004
gingerwizard wants to merge 2 commits intohyperdxio:mainfrom
gingerwizard:more_units

Conversation

@gingerwizard
Copy link
Copy Markdown
Contributor

Summary

this adds and extends the number of units that we have available for charts. More specifically, this adds the following units for formatting values on the y-axis.

Data
• bytes(IEC)
• bytes(SI)
• bits(IEC)
• bits(SI)
• kibibytes
• kilobytes
• mebibytes
• megabytes
• gibibytes
• gigabytes
• tebibytes
• terabytes
• pebibytes
• petabytes

Data rate
• packets/sec
• bytes/sec(IEC)
• bytes/sec(SI)
• bits/sec(IEC)
• bits/sec(SI)
• kibibytes/sec
• kibibits/sec
• kilobytes/sec
• kilobits/sec
• mebibytes/sec
• mebibits/sec
• megabytes/sec
• megabits/sec
• gibibytes/sec
• gibibits/sec
• gigabytes/sec
• gigabits/sec
• tebibytes/sec
• tebibits/sec
• terabytes/sec
• terabits/sec
• pebibytes/sec
• pebibits/sec
• petabytes/sec
• petabits/sec

Throughput
• counts/sec (cps)
• ops/sec (ops)
• requests/sec (rps)
• reads/sec (rps)
• writes/sec (wps)
• I/O ops/sec (iops)
• counts/min (cpm)
• ops/min (opm)
• reads/min (rpm)
• writes/min (wpm)

existing units are placed under group level values i.e. "Basic"

Screenshots or video

2026-03-28_17-20-46.mp4

How to test locally or on Vercel

  1. Create a line chart.
  2. Select Display Settings.
  3. Change the units.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 28, 2026

⚠️ No Changeset found

Latest commit: f548ad4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 28, 2026

@gingerwizard is attempting to deploy a commit to the HyperDX Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 28, 2026

PR Review

  • ⚠️ reads_sec and rps both use suffix 'rps' in utils.ts:730-731 — the formatted output is indistinguishable; reads_sec should use suffix 'reads/s' or similar to differentiate from requests/sec

  • ⚠️ reads/sec (rps) label in NumberFormat.tsx:103 reuses the rps abbreviation already assigned to "requests/sec" — this will confuse users; use a distinct abbreviation (e.g. 'reads/sec (rd/s)')

  • ℹ️ The byte output label was silently renamed from "Bytes" to "Data" in the select dropdown — existing users may be confused; consider keeping backward-compatible labeling or documenting this UX change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant