feat(coderd/healthcheck): allow configuring database hc threshold (#10623)

* feat(coderd/healthcheck): allow configuring database hc threshold
* feat(coderd): add database hc latency, plumb through
* feat(coderd): allow configuring healthcheck refresh interval
This commit is contained in:
Cian Johnston
2023-11-13 14:14:43 +00:00
committed by GitHub
parent e4211ccb40
commit b69c237b8a
17 changed files with 288 additions and 55 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ curl -X GET http://coder-server:8080/api/v2/debug/health \
"healthy": true,
"latency": "string",
"latency_ms": 0,
"reachable": true
"reachable": true,
"threshold_ms": 0
},
"derp": {
"error": "string",