* master: export writable volumes per disk for each volume layout
The layout gauges only report how many volumes of a collection take
writes, not where they sit, so two writable volumes sharing one disk
cannot be seen or alerted on. The leader now exports
writable_volumes_per_disk with the layout labels plus data center, rack,
node and disk id, counting the replicas of the layout's writable volumes
on each disk (state=writable) and those of them that are crowded
(state=crowded). Series for disks that no longer hold a writable volume of
the layout, and for layouts that are gone, are deleted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* master: reset the leader-only layout gauges on followers
The layout writable, crowded, under-replicated and per-disk gauges are only
set by the leader, so a master that lost leadership kept exporting the
values of its last term indefinitely, and dashboards that aggregate over
masters could show numbers days old. A master that is not the leader now
clears them on each periodic pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* grafana: chart disks holding several writable volumes of a collection
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* grafana: keep disks of different clusters apart in the per-disk panel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>