mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(healthcheck): add failing sections to report (#7789)
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user