File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
self-hosting/lifecycle-maintenance Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 353
353
" self-hosting/lifecycle-maintenance" ,
354
354
" self-hosting/lifecycle-maintenance/securing-your-deployment" ,
355
355
" self-hosting/lifecycle-maintenance/server-specs" ,
356
+ " self-hosting/lifecycle-maintenance/healthchecks" ,
356
357
" self-hosting/lifecycle-maintenance/telemetry"
357
358
]
358
359
},
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : " Healthchecks"
3
+ ---
4
+
5
+ <Info >
6
+ This requires the docker image to be ` journeyapps/powersync-service:0.5.8 ` or later
7
+ </Info >
8
+
9
+ The following endpoints can be used to check your system:
10
+
11
+ ### Startup:
12
+
13
+ You can use the ` /probes/startup ` endpoint to confirm the service has started up correctly.
14
+
15
+ A ` 200 ` status code shows the system has started up.
16
+
17
+ A ` 400 ` status code shows the system has ** not** yet started.
18
+
19
+ ### Liveness:
20
+
21
+ You can use the ` /probes/liveness ` endpoint to confirm the service is alive.
22
+
23
+ A ` 200 ` status code shows the system is alive.
24
+
25
+ A ` 400 ` status code shows the system is ** not** alive.
You can’t perform that action at this time.
0 commit comments