Verify telemetry
Inspect the telemetry events your agent emits by subscribing to its telemetry subtree.
Prerequisites
- Access to a telemetry subscriber credential (auditor JWT or equivalent)
- The
natsCLI installed
Steps
Obtain a subscriber credential scoped to
telemetry.agent.{your_agent_id}.>. This is typically an auditor JWT or equivalent scoped credential issued by the telemetry operator.Subscribe to your agent's telemetry subtree:
nats sub --creds=/path/to/auditor.creds \
"telemetry.agent.{your_agent_id}.>"
- Run a deliberation with your agent. Events appear as one-line JSON on stdout.
Demo harness (no NATS required)
To inspect the event shapes without a live NATS server:
cargo run -p quorum-rs --example telemetry_demo # full walkthrough
scripts/telemetry_demo.sh types # distinct event `type` tags (needs jq)
scripts/telemetry_demo.sh subjects # distinct NATS subjects (portable, no jq)
scripts/telemetry_demo.sh agent-only # jq-filtered to agent tree only
scripts/telemetry_demo.sh redaction # redaction-invariant proof
The JSON output matches what a wired emitter publishes to NATS.