Skip to content

Commit 4091f83

Browse files
committed
Change 'Diagnostics API' on client to SyncStatus
1 parent 370150e commit 4091f83

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

resources/troubleshooting.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,15 @@ See the [Readme](https://github.com/powersync-ja/powersync-js/tree/main/tools/di
8181

8282
See [Monitoring and Alerting](/usage/tools/monitoring-and-alerting).
8383

84-
### Diagnostics API
8584

86-
We also provide diagnostics via an API on the client. Examples include the connection status, last completed sync time, and local upload queue size.
85+
### SyncStatus API
86+
87+
We also provide diagnostics via the `SyncStatus` APIs in the client SDKs. Examples include the connection status, last completed sync time, and local upload queue size.
8788

8889
If for example, a change appears to be missing on the client, you can check if the last completed sync time is greater than the time the change occurred.
8990

91+
For usage details, refer to the respective [client SDK docs](/client-sdk-references/introduction).
92+
9093
The JavaScript SDKs ([React Native](/client-sdk-references/react-native-and-expo), [web](/client-sdk-references/javascript-web)) also log the contents of sync bucket changes to `console.debug` if verbose logging is enabled. This should log which `PUT`/`PATCH`/`DELETE` operations have been applied from the server.
9194

9295
### Inspect local SQLite Database

0 commit comments

Comments
 (0)