Expand description
Telemetry capture kill-switch.
DIFFLORE_CAPTURE=false stops local fire-and-forget rows from
entering any cloud outbox. Every capture-emitting entry point checks
this gate before opening pools or building payloads.
Both cloud queues must honor the gate:
crate::cloud::outbox::OutboxQueue::enqueue— the originalcloud_outboxSQLite queue.- [
crate::cloud::observations::storage::ObservationEmitter::enqueue] — the secondobservation_eventsqueue added for PostToolUse observation capture.
When disabled, no row enters either queue and later drain passes have nothing to upload.
Constants§
- DIFFLORE_
CAPTURE_ ENV - Env var documented as the telemetry capture kill-switch.
Functions§
- capture_
enabled - Whether telemetry capture is enabled.