mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: improve resources_monitoring for OOM & OOD monitoring (#16241)
As requested for [this issue](https://github.com/coder/internal/issues/245) we need to have a new resource `resources_monitoring` in the agent. It needs to be parsed from the provisioner and inserted into a new db table.
This commit is contained in:
@@ -6,9 +6,12 @@ import "github.com/coder/coder/v2/apiversion"
|
||||
//
|
||||
// API v1.2:
|
||||
// - Add support for `open_in` parameters in the workspace apps.
|
||||
//
|
||||
// API v1.3:
|
||||
// - Add new field named `resources_monitoring` in the Agent with resources monitoring..
|
||||
const (
|
||||
CurrentMajor = 1
|
||||
CurrentMinor = 2
|
||||
CurrentMinor = 3
|
||||
)
|
||||
|
||||
// CurrentVersion is the current provisionerd API version.
|
||||
|
||||
Reference in New Issue
Block a user