1
0
Fork 0
mirror of synced 2024-08-12 00:31:38 +12:00
appwrite/app/sdks/server-php/docs/health.md

97 lines
2.6 KiB
Markdown
Raw Normal View History

2020-05-02 16:23:56 +12:00
# Health Service
## Check API HTTP Health
```http request
GET https://appwrite.io/v1/health
```
** Check the Appwrite HTTP server is up and responsive. **
## Check Cache Health
```http request
GET https://appwrite.io/v1/health/cache
```
** Check the Appwrite in-memory cache server is up and connection is successful. **
## Check DB Health
```http request
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
```http request
GET https://appwrite.io/v1/health/queue/certificates
```
** Get the number of certificates that are waiting to be issued against [Letsencrypt](https://letsencrypt.org/) in the Appwrite internal queue server. **
2020-05-11 08:13:51 +12:00
## Check the number of pending functions messages
```http request
GET https://appwrite.io/v1/health/queue/functions
```
2020-05-02 16:23:56 +12:00
## Check the number of pending log messages
```http request
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
```http request
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
```http request
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
```http request
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
```http request
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
```http request
GET https://appwrite.io/v1/health/storage/local
```
** Check the Appwrite local storage device is up and connection is successful. **
## Check Time Health
```http request
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](https://en.wikipedia.org/wiki/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. **