docs: update deployment doc
This commit is contained in:
54
docs/quickstart/healthcheck.md
Normal file
54
docs/quickstart/healthcheck.md
Normal file
@@ -0,0 +1,54 @@
|
||||
---
|
||||
title: Healthcheck
|
||||
layout: default
|
||||
parent: Quickstart
|
||||
nav_order: 2
|
||||
---
|
||||
|
||||
|
||||
# Healthcheck
|
||||
|
||||
Goma comes with routes healthcheck, that can be enabled and disabled.
|
||||
|
||||
|
||||
- Goma Gateway healthcheck: `/health/live`
|
||||
- Routes health check: `health/routes`
|
||||
|
||||
### Gateway healthcheck response:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "Service Gateway",
|
||||
"status": "healthy",
|
||||
"error": ""
|
||||
}
|
||||
```
|
||||
### Routes healthcheck response:
|
||||
|
||||
```json
|
||||
{
|
||||
"status": "healthy",
|
||||
"routes": [
|
||||
{
|
||||
"name": "order-service",
|
||||
"status": "healthy",
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"name": "notification-service",
|
||||
"status": "healthy",
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"name": "store-service",
|
||||
"status": "healthy",
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"name": "account-service",
|
||||
"status": "healthy",
|
||||
"error": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user