Health Check
Business Function
This API is used to check the health status of Mesher.
URI
GET /v1/mesher/health
Request
None
Response
Response Parameter
Table 1 describes the response parameters.
| Parameter | Type | Description |
|---|---|---|
| serviceName | string | Microservice name. |
| version | string | Microservice version. |
| status | string | The status can be green (healthy) or red (unhealthy). After being disconnected from the registration center, the status changes to red. |
| connectedConfigCenterClient | bool | Whether to connect to the configuration center. |
| connectedMonitoring | bool | Whether to connect to the CSE dashboard. |
Response Example
{
"serviceName": "cart",
"version": "0.1",
"status": "green",
"connectedConfigCenterClient": false,
"connectedMonitoring": false
} Status Code
Table 3 describes the status code.
Last Article: Overview
Next Article: Mesher Version
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.