Triton Health Check API

Function

Checks the health status of Triton.

You are advised to call this API every 5 seconds.

Format

Operation type: GET

URL: https://{ip}:{port}/v2/health/live

  • Preferably set {ip} to POD_IP in Configuration Description. If the environment variable is not configured, set {ip} to the value of manage_ip parameter in the ms_coordinator.json configuration file.
  • Preferably set {port} to {status_port} in Starting Coordinator. If the parameter is not configured, set {port} to the value of the status_port parameter in the ms_coordinator.json configuration file.

Request Parameters

None

Usage Example

Request example:

GET https://{ip}:{port}/v2/health/live

Response example:

No content is displayed when the service is running properly.

Output Description

  • Status code 200: The service is normal and the message body is empty.
  • If no response is returned, the service is abnormal.