summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()
}