diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 00:19:56 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 00:19:56 +0300 |
| commit | a3acc6f607b4422b83e023c030892ff39c0cb0aa (patch) | |
| tree | ae57098f63faa5368e35ce8fedf4c77457c55e54 /integrationtests/cli_test.go | |
| parent | 7e1c99cc79ba8338a05e37aaac498dd759f614f3 (diff) | |
rpn: implement custom show to display custom metric details
Previously, 'custom show' delegated to MetricShow(), which displayed
metric info for the top stack value — identical to 'metric show' and
making 'custom show' a pointless alias.
Now 'custom show' lists all custom metrics with name, category, base
unit, and factor. Optionally accepts a metric name argument to show
details for a specific custom metric only.
- Add CustomShow(stack, name) method to Operator interface
- Implement CustomShow on Operations with per-metric detail output
- Update handleCustomCommand to call CustomShow instead of MetricShow
Diffstat (limited to 'integrationtests/cli_test.go')
0 files changed, 0 insertions, 0 deletions
