Configuration
Rust plugin builder
Section titled “Rust plugin builder”| Method | Purpose |
|---|---|
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.
Frontend package
Section titled “Frontend package”| Option | Default | Purpose |
|---|---|---|
serviceName | required | Frontend service name. |
instrumentConsole | true | Capture console logs. |
instrumentErrors | true | Capture uncaught errors and unhandled rejections. |
instrumentTauriInvoke | true | Wrap Tauri command calls. |
instrumentTauriEvents | true | Wrap event emit/listen calls. |
captureFullPayloads | false | Store full payloads when they fit within the size cap. |
maxPayloadBytes | 16384 | Bounds captured payload summaries and payload values. |
batchIntervalMs | 1000 | Flush cadence. |
maxBatchSize | 64 | Flush 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.