Skip to content

Configuration

MethodPurpose
service_name(name)Overrides the stored service name.
session_name(name)Adds a human-readable session label to the stored session row.
redact_defaults(bool)Enables or disables default key-based redaction.
max_session_bytes(bytes)Enables best-effort pruning after frontend batches when the SQLite database exceeds this size.
allow_release_builds(bool)Allows collection outside debug builds.

capture_full_payloads and max_payload_bytes exist in the internal Rust config type for a future plugin-side payload policy pass. The current frontend package owns payload capture and payload summary limits.

OptionDefaultPurpose
serviceNamerequiredFrontend service name.
instrumentConsoletrueCapture console logs.
instrumentErrorstrueCapture uncaught errors and unhandled rejections.
instrumentTauriInvoketrueWrap Tauri command calls.
instrumentTauriEventstrueWrap event emit/listen calls.
captureFullPayloadsfalseStore full payloads when they fit within the size cap.
maxPayloadBytes16384Bounds captured payload summaries and payload values.
batchIntervalMs1000Flush cadence.
maxBatchSize64Flush when the in-memory batch reaches this size.

Important defaults: redaction is enabled, full payload capture is disabled in the frontend package, retention defaults to 256 MiB, and release builds are blocked unless explicitly allowed. Auditaur is intended to be dev/debug first; production collection should be an explicit product decision with consent, redaction, retention, and export handling reviewed.