Skip to content

Commit 23fe21a

Browse files
committed
docs: add kill-switch callout after Quick Start
1 parent 7b56e52 commit 23fe21a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ const agent = await DiagnosticAgent.createProfile({
164164
// SIGTERM / SIGINT → flush telemetry → process.exit is wired automatically
165165
```
166166

167+
> [!NOTE]
168+
> **Zero-overhead kill-switch** — set `DIAGNOSTIC_AGENT_ENABLED=false` (or `0`) in any environment and the agent skips all initialisation with no CPU cost. Useful for gradual rollouts, incident response, or staging overrides without a code deploy.
169+
167170
---
168171

169172
## Demo App

0 commit comments

Comments
 (0)