mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(coderd): add provisioner_daemons to /debug/health endpoint (#11393)
Adds a healthcheck for provisioner daemons to /debug/health endpoint.
This commit is contained in:
+6
-5
@@ -12,11 +12,12 @@ type HealthSection string
|
||||
|
||||
// If you add another const below, make sure to add it to HealthSections!
|
||||
const (
|
||||
HealthSectionDERP HealthSection = "DERP"
|
||||
HealthSectionAccessURL HealthSection = "AccessURL"
|
||||
HealthSectionWebsocket HealthSection = "Websocket"
|
||||
HealthSectionDatabase HealthSection = "Database"
|
||||
HealthSectionWorkspaceProxy HealthSection = "WorkspaceProxy"
|
||||
HealthSectionDERP HealthSection = "DERP"
|
||||
HealthSectionAccessURL HealthSection = "AccessURL"
|
||||
HealthSectionWebsocket HealthSection = "Websocket"
|
||||
HealthSectionDatabase HealthSection = "Database"
|
||||
HealthSectionWorkspaceProxy HealthSection = "WorkspaceProxy"
|
||||
HealthSectionProvisionerDaemons HealthSection = "ProvisionerDaemons"
|
||||
)
|
||||
|
||||
var HealthSections = []HealthSection{
|
||||
|
||||
Reference in New Issue
Block a user