1
0
Fork 0
mirror of synced 2024-07-08 07:55:48 +12:00
appwrite/app/sdks/server-php/docs/health.md
2020-05-02 07:23:56 +03:00

2.4 KiB

Health Service

Check API HTTP Health

GET https://appwrite.io/v1/health

** Check the Appwrite HTTP server is up and responsive. **

Check Cache Health

GET https://appwrite.io/v1/health/cache

** Check the Appwrite in-memory cache server is up and connection is successful. **

Check DB Health

GET https://appwrite.io/v1/health/db

** Check the Appwrite database server is up and connection is successful. **

Check the number of pending certificate messages

GET https://appwrite.io/v1/health/queue/certificates

** Get the number of certificates that are waiting to be issued against Letsencrypt in the Appwrite internal queue server. **

Check the number of pending log messages

GET https://appwrite.io/v1/health/queue/logs

** Get the number of logs that are waiting to be processed in the Appwrite internal queue server. **

Check the number of pending task messages

GET https://appwrite.io/v1/health/queue/tasks

** Get the number of tasks that are waiting to be processed in the Appwrite internal queue server. **

Check the number of pending usage messages

GET https://appwrite.io/v1/health/queue/usage

** Get the number of usage stats that are waiting to be processed in the Appwrite internal queue server. **

Check number of pending webhook messages

GET https://appwrite.io/v1/health/queue/webhooks

** Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server. **

Check Anti virus Health

GET https://appwrite.io/v1/health/storage/anti-virus

** Check the Appwrite Anti Virus server is up and connection is successful. **

Check File System Health

GET https://appwrite.io/v1/health/storage/local

** Check the Appwrite local storage device is up and connection is successful. **

Check Time Health

GET https://appwrite.io/v1/health/time

** Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The Network Time Protocol (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP. **