feat(healthcheck): add failing sections to report (#7789)

This commit is contained in:
Colin Adler
2023-06-01 19:21:24 -05:00
committed by GitHub
parent 9b8e5c2d8a
commit 2b63492649
11 changed files with 217 additions and 38 deletions
+1
View File
@@ -206,6 +206,7 @@ curl -X GET http://coder-server:8080/api/v2/debug/health \
}
}
},
"failing_sections": ["string"],
"healthy": true,
"time": "string",
"websocket": {
+9 -7
View File
@@ -6376,6 +6376,7 @@ Parameter represents a set value for the scope.
}
}
},
"failing_sections": ["string"],
"healthy": true,
"time": "string",
"websocket": {
@@ -6391,13 +6392,14 @@ Parameter represents a set value for the scope.
### Properties
| Name | Type | Required | Restrictions | Description |
| ------------ | ---------------------------------------------------------- | -------- | ------------ | ------------------------------------------------ |
| `access_url` | [healthcheck.AccessURLReport](#healthcheckaccessurlreport) | false | | |
| `derp` | [healthcheck.DERPReport](#healthcheckderpreport) | false | | |
| `healthy` | boolean | false | | Healthy is true if the report returns no errors. |
| `time` | string | false | | Time is the time the report was generated at. |
| `websocket` | [healthcheck.WebsocketReport](#healthcheckwebsocketreport) | false | | |
| Name | Type | Required | Restrictions | Description |
| ------------------ | ---------------------------------------------------------- | -------- | ------------ | ------------------------------------------------ |
| `access_url` | [healthcheck.AccessURLReport](#healthcheckaccessurlreport) | false | | |
| `derp` | [healthcheck.DERPReport](#healthcheckderpreport) | false | | |
| `failing_sections` | array of string | false | | |
| `healthy` | boolean | false | | Healthy is true if the report returns no errors. |
| `time` | string | false | | Time is the time the report was generated at. |
| `websocket` | [healthcheck.WebsocketReport](#healthcheckwebsocketreport) | false | | |
## healthcheck.WebsocketReport