Expand description
The meterstore command-line tool.
A thin front end over the same public API a service uses: every subcommand is one or two library calls, and nothing here is unreachable from Rust.
Two shapes of use. An operator answering a question during an incident
reaches for Status and Query, both of
which read the deployment’s own configuration file. A deployment needs
archival to run somewhere: Maintain is the foreground
loop a container or a systemd unit wants, Archive the
one-shot form for cron.
There is no meterstore append. A reading arrives as an MSCONS message, an
SMGW push or a CSV a utility exports its own way, and each needs a mapping
this crate has no opinion about — which OBIS code, which network operator
issued the version, which Messlokation.
Structs§
- Cli
- Hot/cold tiered storage for metering time series.
Enums§
Functions§
- main
- Run the CLI, returning a process exit code.