Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 1 addition & 0 deletions mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@
"self-hosting/lifecycle-maintenance",
"self-hosting/lifecycle-maintenance/securing-your-deployment",
"self-hosting/lifecycle-maintenance/server-specs",
"self-hosting/lifecycle-maintenance/healthchecks",
"self-hosting/lifecycle-maintenance/telemetry"
]
},
Expand Down
25 changes: 25 additions & 0 deletions self-hosting/lifecycle-maintenance/healthchecks.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Healthchecks"
---

<Info>
This requires the docker image to be `journeyapps/powersync-service:0.5.8` or later
</Info>

The following endpoints can be used to check your system:

### Startup:

You can use the `/probes/startup` endpoint to confirm the service has started up correctly.

A `200` status code shows the system has started up.

A `400` status code shows the system has **not** yet started.

### Liveness:

You can use the `/probes/liveness` endpoint to confirm the service is alive.

A `200` status code shows the system is alive.

A `400` status code shows the system is **not** alive.