NATS subject and KV key builders for LabJack live data, configs and exports.
These mirror the builders in rust-ljm/src/subjects.rs, which the streamer,
archiver and exporter use, so the dashboard subscribes and publishes on the same
names. Two live-data layouts exist:
Legacy, keyed by asset number: <root>.<asset>.data.chNN, for example
avenabox.1456.data.ch11. The root is used exactly as configured.
Structured, keyed by identity: avenars.<site>.<box>.<source>.live.chNN, for
example avenars.i69.i69-mu1.i69-lj2.live.ch11. Every token is sanitized.
The structured layout is used when the root is avenars or any of site, box or
source ID is set.
NATS subject and KV key builders for LabJack live data, configs and exports.
These mirror the builders in
rust-ljm/src/subjects.rs, which the streamer, archiver and exporter use, so the dashboard subscribes and publishes on the same names. Two live-data layouts exist:<root>.<asset>.data.chNN, for exampleavenabox.1456.data.ch11. The root is used exactly as configured.avenars.<site>.<box>.<source>.live.chNN, for exampleavenars.i69.i69-mu1.i69-lj2.live.ch11. Every token is sanitized.The structured layout is used when the root is
avenarsor any of site, box or source ID is set.