Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions maintenance-ops/self-hosting/diagnostics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,16 @@ curl -X POST http://localhost:8080/api/admin/v1/diagnostics \

The response `data` object contains:

**`service`**: information about the running PowerSync Service. `service.version` is the Service version, such as `1.27.1`.

**`connections`** — whether PowerSync can reach the configured source database and any connection-level errors.

**`active_sync_rules`** — the currently serving Sync Config (Sync Streams or Sync Rules). Contains a `connections[]` array with details about each replication connection including slot name, WAL status, and tables being replicated. Also includes an `errors[]` array for warnings or errors.

**`deploying_sync_rules`** — only present while a new Sync Config is being deployed and the initial replication is in progress. PowerSync runs this process in parallel so clients continue to be served by the existing active config. Once initial replication completes, this section disappears and `active_sync_rules` updates.

**`sync_config_source`**: where the Service gets its Sync Config. The value is `config` if the Sync Config is defined in the Service configuration, such as the `sync_config:` section of `service.yaml`. Otherwise, the value is `api`, and the Sync Config is deployed [via the API](/maintenance-ops/self-hosting/update-sync-rules#option-3-deploy-via-api).

Each connection in `active_sync_rules.connections[]` includes:

| Field | Description |
Expand Down
Loading