CLICommands
liveness
snug liveness <COMMAND>Entity liveness tracking.
Subcommands
| Command | What it does |
|---|---|
send | Send a liveness heartbeat |
status | Get entity current status and rolling summary |
history | Get raw heartbeat history within a time window |
uptime | Get uptime percentages for one or more windows |
latency | Get latency statistics and trend |
aggregations | Run a custom aggregation query |
query | Query multiple entities, optionally filtered |
delete | Delete an entity's liveness data and history |
Run snug liveness <command> --help for that command's own options.
The global options apply everywhere.
Examples
snug liveness send -i device123 -L region=us-east -m METADATA_JSON
snug liveness status -i device123
snug liveness uptime -i device123 -w 1h,24h,7d
snug liveness latency -i device123 -r 86400 -b 3600
snug liveness history -i device123 --limit 100
snug liveness query --alive false --uptime-below 99.5
snug liveness delete -i device123Next
- liveness guide - what the service does and when to reach for it.
- API reference - every endpoint these commands call.
- CLI reference - global options, output modes, and exit codes.