You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 7, 2019. It is now read-only.
Copy file name to clipboardexpand all lines: ops/health-check-route.s.md
+20-15
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,13 @@
4
4
5
5
# Why
6
6
7
-
In order to monitor correctly their environments, some Cloud services require a HealthCheck route which returns a status depending on how the API is running.
7
+
In order to monitor correctly their environments, backend services require a HealthCheck route which returns a status depending on how the API is running.
8
8
9
9
## Checks
10
10
11
-
-[ ]Do a call to every DB used by the API
11
+
-[ ]Make a call to every database used by the API
12
12
-[ ] Send a 2xx status code status in case of API running correctly and 5xx status code if not
13
-
-[ ] Do the less data usage DB calls
14
-
-[ ] Include a timestamp in order not to reduce the number of successive calls
13
+
-[ ] Make the less data usage database calls: the health check route is likely to be called very often in short period of time
0 commit comments