summaryrefslogtreecommitdiff
path: root/internal/runtime/runtime.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-26 22:35:24 +0300
committerPaul Buetow <paul@buetow.org>2026-05-26 22:35:24 +0300
commitdbd2d5a9afc496b6e913885fea3922f3fed9c4a0 (patch)
treec0c152b2756751b51eb3089964be83e0638b8435 /internal/runtime/runtime.go
parent17c1cda46bf3c14b7431a2cf3ee2fa042672ffad (diff)
runtime: restore LiveTrieSource compatibility for TUI (ro)
Diffstat (limited to 'internal/runtime/runtime.go')
-rw-r--r--internal/runtime/runtime.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/runtime/runtime.go b/internal/runtime/runtime.go
index 5a3c9a9..04cf6b2 100644
--- a/internal/runtime/runtime.go
+++ b/internal/runtime/runtime.go
@@ -78,10 +78,14 @@ type Configurator interface {
Fields() []string
// CountField returns the active aggregation metric name.
CountField() string
+ // HeightField returns the active frame-height metric (e.g. "bytes", "duration").
+ HeightField() string
// Reconfigure replaces the grouping fields and resets accumulated data.
Reconfigure([]string) error
// SetCountField changes the active aggregation metric and starts a fresh baseline.
SetCountField(string) error
+ // SetHeightField changes the frame-height metric and starts a fresh baseline.
+ SetHeightField(string) error
// Reset clears all accumulated data, starting a new baseline.
Reset()
}