Skip to content

[Feature]: Add disk capacity history to Sysinfo #3471

Description

@renkasiyas

Feature description

The Sysinfo widget currently plots CPU and memory, but it cannot show whether the monitored machine's primary filesystem is running out of capacity. A disk-space plot would make storage depletion visible without leaving Wave, including for remote connections already supported by Sysinfo.

Proposed scope: add a Disk Space plot type showing free capacity in GiB for the primary filesystem, using the existing Sysinfo history and plot UI. This is capacity, not disk I/O throughput.

Implementation suggestion

  • Collect primary-filesystem total, used, and free bytes with the existing gopsutil dependency and publish GiB values alongside CPU/memory in the current sysinfo event.
  • Add namespaced metrics such as disk:space:total, disk:space:used, and disk:space:free so future I/O metrics remain distinct.
  • Add Disk Space to the existing Plot Type menu, graphing free space from zero to total capacity.
  • Cover collection and plot selection with focused Go/TypeScript tests and document the new custom-widget plot type.

I am ready to submit the focused implementation if this direction and naming align with Wave's product direction.

Anything else?

This request is based on the existing CPU + Mem Sysinfo widget in Wave 0.14.5. The goal is the same native graph surface, not a terminal/TUI workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions