Skip to content

Darling: operator documentation for the headless edition (#1262)#1337

Merged
erikdarlingdata merged 2 commits into
devfrom
feature/1262-darling-docs
Jul 2, 2026
Merged

Darling: operator documentation for the headless edition (#1262)#1337
erikdarlingdata merged 2 commits into
devfrom
feature/1262-darling-docs

Conversation

@erikdarlingdata

Copy link
Copy Markdown
Owner

Summary

Operator-facing documentation for the Darling headless edition, verified line-by-line against the code on dev (fd9f87d).

  • Darling/README.md (new) — the operator guide:
    • What Darling is (24/7 collector service + detached viewer + PostgreSQL/TimescaleDB store; same monitoring brain as Lite through the shared PerformanceMonitor.Collectors/Alerting/analysis libraries) and when to choose it vs. portable Lite
    • Quick start: prerequisites (PostgreSQL 16/17; TimescaleDB optional and auto-adopted), darling.json setup (resolution order, both auth modes, the --encrypt-password DPAPI flow, per-server vs. alert-level excludedDatabases), console mode vs. sc create Windows-service install (same exe for both, per Program.cs)
    • What the service does on monitored servers: the two XE ring-buffer sessions (PerformanceMonitor_Deadlock / PerformanceMonitor_BlockedProcess, server- vs. database-scoped), the blocked-process-threshold sp_configure bootstrap (RDS/Azure caveats), and a permissions table using the product's existing vocabulary (VIEW SERVER STATE required; XE/msdb/ALTER SETTINGS/DBCC optional with the exact degrade behavior)
    • Configuration reference: every darling.json key with code-verified defaults and clamps; the alert thresholds table (defaults mirror Lite's); SMTP/webhooks/MCP sections; the "no schedule knobs by design" note
    • Operations: store layout V1–V4 (table inventory), TimescaleDB adoption + 7-day compression as the archival tier, retention horizons (shared RetentionDays, drop_chunks vs. DELETE), logs, the viewer (config resolution, the four tabs, 60-second active-tab refresh), restart semantics (delta re-seeding, watermark persistence, alert no-re-fire)
    • Troubleshooting keyed to the actual log messages (config validation, PG unreachable, XE permission degrade, plaintext-password warning, MCP off-by-default/port-in-use, PERMISSIONS rows, 24h analysis gate)
    • A clearly marked "Managed Bundled PostgreSQL — Shipping Soon" placeholder for the in-flight bundled-PG work
  • README.md — one new subsection in the edition-comparison area introducing Darling (status: in development, builds from source) with a link to the guide; nothing else restructured
  • CHANGELOG.md — one Unreleased/Added entry under [[FEATURE] Add a headless Windows Service collector mode for Lite (gMSA-compatible), with the existing UI as a read-only viewer #1262]

Verification

Docs only — no product code changed. dotnet build Darling/Darling.Tests succeeds (0 errors). Every documented default, cadence, table name, tool name, session name, and log message was read from the source this session (DarlingConfig/darling.sample.json/Program.cs/DarlingWorker/DarlingXeSessions/DarlingAlertSettings/DarlingSecrets/DarlingServerConnector/MonitoredServerConnection/DarlingObservability, PgMigrations/TimescaleSupport/PgSchemaGenerator/StorageVersion, DarlingRetention, CollectorScheduleDefaults, the MCP host/tools, ViewerSettings/MainWindow.xaml).

Part of #1262.

🤖 Generated with Claude Code

erikdarlingdata and others added 2 commits July 2, 2026 16:15
Adds the operator guide for the headless edition at Darling/README.md:
quick start (PostgreSQL prerequisites, optional auto-adopted TimescaleDB,
both auth modes with the --encrypt-password flow, console mode vs sc create
Windows-service install), what the service creates on monitored servers
(the two XE sessions, the blocked-process-threshold bootstrap) and the
required permissions, the complete darling.json reference with
code-verified defaults, the store layout (schema V1-V4), retention and
compression, logs, the viewer, restart semantics, troubleshooting, and a
marked placeholder for the upcoming managed bundled-PostgreSQL mode.

Also introduces Darling in the root README's edition-comparison area and
adds the CHANGELOG entry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
database_size_stats runs hourly and server_properties runs on
connect per the shared CollectorScheduleDefaults (identity-pinned to
Lite's ScheduleManager) — the table said 15 min for both. Surfaced
during the Darling docs verification pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit f39b7bc into dev Jul 2, 2026
2 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/1262-darling-docs branch July 2, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant