Skip to main content

Module state

Module state 

Source

Structs§

CustomMetricSpec
Parsed shape of a user-defined Metrics-tab chart. Stored line-oriented in state.toml as metric.LABEL = "namespace|name|stat[|dim=val;dim=val]". The fourth pipe-separated field is optional; when absent the app defaults to the env-scoped EnvironmentName=<env> dimension.
PersistedState

Functions§

file_exists
True when no state.toml exists on disk yet. Used by the first-run nudge to decide whether to surface the “press ? for help” hint at boot. Distinct from “state.toml exists but is empty” — the latter means the operator has run ebman before (we wrote the file) but everything got cleared.
load
parse
save