Patinas by RustySockets Documentation Product Search public

patinas-ctl

Control CLI for health, metrics snapshots, KPI sampling, and chaos/capture plans.

Examples:

patinas-ctl health --addr 127.0.0.1:9640
patinas-ctl metrics-snapshot --addr 127.0.0.1:9641 --out hub.prom
patinas-ctl kpi-sample --endpoints 127.0.0.1:9640,127.0.0.1:9641 --interval-s 2 --duration-s 30 --out kpi.csv

## Passivations control (start/stop/rotate)

These commands drive `passivationsd --http <addr>` control endpoints.

```bash
# If Passivations enforces auth, set a bearer token (either flag or env):
# export PASSIVATIONS_HTTP_TOKEN="..."

# Rotate the current segment boundary (MKV-safe) for logical session cam-1
patinas-ctl passivations --addr 127.0.0.1:9660 --id cam-1 --action rotate --reason manual

# Stop ingest + finalize the current session
patinas-ctl passivations --addr 127.0.0.1:9660 --id cam-1 --action stop

# Start a new session boundary and resume ingest
patinas-ctl passivations --addr 127.0.0.1:9660 --id cam-1 --action start