Health Check
Standard endpoint for health check
Aidbox serves REST endpoint GET /health for automated health-checks as described by RFC (Health Check Response Format for HTTP APIs):
health-check-request
1
GET /health
2
3
#response
4
5
status: pass
6
description: health of aidbox
7
version: 0.4.2
8
releaseId: ????
9
checks:
10
uptime:
11
- {componentType: system,
12
observedValue: 87,
13
observedUnit: s,
14
status: pass,
15
time: '2019-04-18T19:33:16.194Z'}
16
memory:utilization:
17
- {componentType: system,
18
status: pass,
19
observedValue: 205,
20
observedUnit: Mb}
21
db:responseTime:
22
- {status: pass,
23
componentType: database,
24
observedValue: 2,
25
observedUnit: ms}
Copied!
Copy link