I want an exported Stats class for envoy-curses that I can use as a stateful in-memory model for Envoy…
I want an exported Stats class for envoy-curses that I can use as a stateful in-memory model for Envoy…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). The public methods should be start() , pollStats() , getStatNames(statsPrefix) , getStatsTable(match) …
The task
The public methods should be `start()`, `pollStats()`, `getStatNames(statsPrefix)`, `getStatsTable(match)`, `getCurrentStatValue(statName)`, `getSeries(statName)`, and `getSeriesAsGauge(statName)`. Calling `pollStats()` should fetch `statsURI`, read the response as text, parse colon-delimited lines like…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.