feat: add healthcheck database section (#8060)

This commit is contained in:
Colin Adler
2023-06-20 15:13:22 +00:00
committed by GitHub
parent 2db4488337
commit 823127e761
11 changed files with 284 additions and 12 deletions
+6
View File
@@ -46,6 +46,12 @@ curl -X GET http://coder-server:8080/api/v2/debug/health \
"reachable": true,
"status_code": 0
},
"database": {
"error": null,
"healthy": true,
"latency": 0,
"reachable": true
},
"derp": {
"error": null,
"healthy": true,