Storage, retention, and privacy¶
Daemonitor is designed for local-only monitoring. All process samples, correlated builds, observation sessions, and settings are stored on your local machine.
Storage locations¶
Both daemonitor-cored and the Desktop application resolve the same <appSupportDir>:
| Operating system | <appSupportDir> |
|---|---|
| macOS | ~/Library/Application Support/Daemonitor |
| Linux | $XDG_DATA_HOME/Daemonitor (fallback ~/.local/share/Daemonitor) |
| Windows | %LOCALAPPDATA%\Daemonitor (fallback ~/AppData/Local/Daemonitor) |
Files stored in <appSupportDir>:
watcher.db: Shared SQLite database (WAL mode,busy_timeout = 5000ms, schema version7) containingprocess_samples,builds,process_instances,process_events,observation_sessions, andsession_process_links. Created with directory mode0700and file mode0600bydaemonitor-cored.daemonitor-core.sock(macOS/Linux): Local IPC Unix domain socket (0600, removed on shutdown). On Windows, IPC uses a per-user named pipe\\.\pipe\daemonitor-core-<UserSID>with a current-user-only DACL.settings.properties: Desktop appearance, retention days, and MCP configuration (hardened to0600permissions).
Retention and cleanup¶
- Go
daemonitor-cored: Defaults to-retention 24hand runs a cleanup purge every 30 seconds, removing expired rows fromprocess_samples,process_events,process_instances,session_process_links, andobservation_sessions. (Note: thebuildstable is not pruned bydaemonitor-cored's 24-hour purge.) - Desktop / Kotlin core: Defaults to
15days (configurable from1to90days in Settings → History retention), purging expired records on startup and immediately when changed.
Command-line and log redaction¶
Both daemonitor-cored (cored/internal/poll/redactor.go) and Kotlin core/ (Redactor.kt) apply best-effort redaction (***) to process command lines and Gradle daemon log lines before storing or returning them:
- Sensitive key detection: Case-insensitive substring match for
password,secret,token,credential,apikey,authenticationkey, or whole-wordkey(avoiding false positives likekeystore.path). - Redacted forms:
-Pkey=value,-Dkey=value,--key=value, and nested Bazel/JVM flags (for example,--jvmopt=-Dtoken=...) →<prefix><key>=***- Bare
KEY=valueassignments (for example,xcodebuild API_TOKEN=secret) →KEY=*** - Separate-argument flags (
--token secret,-Ppassword val,-Dapi_key val) → next token masked as*** - Credentialed URLs (
scheme://user:pass@host) →scheme://***:***@host - Known limitation: Bare positional secrets without a recognizable key name cannot be automatically redacted.
Export path sanitization¶
By default, daemonitor-cli strips full local paths (working_directory, project_path, daemon log path) down to basenames in ps, history, builds, and logs outputs. Pass --include-project-path only when full local paths are required. Files written by export --output and observe --output are created with mode 0600.
Network access and external integrations¶
- No telemetry or analytics: Daemonitor sends zero usage analytics, crash reports, or process data to external servers.
- Optional GitHub Releases update check: The Desktop application checks
github.com/cdsap/daemonitorreleases on startup (disabled in App Store builds). - Optional Develocity integration: Only when you explicitly apply the experimental Gradle plugin and Develocity is configured in your build does the plugin project GBOS RSS summary custom values into your Develocity Build Scan.
- Optional MCP server: Disabled by default; when enabled in Desktop Settings, binds strictly to
127.0.0.1with bearer-token authentication and localhostOriginchecks.