You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: self-hosting/lifecycle-maintenance/healthchecks.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,24 +6,24 @@ title: "Healthchecks"
6
6
This requires the Docker image to be `journeyapps/powersync-service:0.5.8` or later.
7
7
</Info>
8
8
9
-
The following endpoints can be used to check your system:
9
+
The following endpoints can be used to check the health of your PowerSync Service instance. This provides a way to catch issues before they impact your users.
10
10
11
11
### Startup:
12
12
13
13
You can use the `/probes/startup` endpoint to confirm the service has started up correctly.
14
14
15
-
A `200` status code shows the system has started up.
15
+
A `200` status code shows the service has started up.
16
16
17
-
A `400` status code shows the system has **not** yet started.
17
+
A `400` status code shows the service has **not** yet started.
18
18
19
19
### Liveness:
20
20
21
21
You can use the `/probes/liveness` endpoint to confirm the service is alive.
22
22
23
-
A `200` status code shows the system is alive.
23
+
A `200` status code shows the service is alive.
24
24
25
-
A `400` status code shows the system is **not** alive.
25
+
A `400` status code shows the service is **not** alive.
26
26
27
27
<Tip>
28
-
**Example**: An example configuration with Docker Compose is available in the [self-host-demo app](https://github.com/powersync-ja/self-host-demo/blob/main/services/powersync.yaml).
29
-
</Tip>
28
+
**Example**: An example configuration with Docker Compose is available in the [self-host-demo app](https://github.com/powersync-ja/self-host-demo/blob/main/services/powersync.yaml).
0 commit comments