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:
Vincent Vielle
2025-02-04 18:45:33 +01:00
committed by GitHub
parent 8c265018c4
commit 7cbd77fd94
76 changed files with 3170 additions and 1041 deletions
+2
View File
@@ -13475,6 +13475,7 @@ const docTemplate = `{
"template",
"user",
"workspace",
"workspace_agent_resource_monitor",
"workspace_dormant",
"workspace_proxy"
],
@@ -13510,6 +13511,7 @@ const docTemplate = `{
"ResourceTemplate",
"ResourceUser",
"ResourceWorkspace",
"ResourceWorkspaceAgentResourceMonitor",
"ResourceWorkspaceDormant",
"ResourceWorkspaceProxy"
]
+2
View File
@@ -12178,6 +12178,7 @@
"template",
"user",
"workspace",
"workspace_agent_resource_monitor",
"workspace_dormant",
"workspace_proxy"
],
@@ -12213,6 +12214,7 @@
"ResourceTemplate",
"ResourceUser",
"ResourceWorkspace",
"ResourceWorkspaceAgentResourceMonitor",
"ResourceWorkspaceDormant",
"ResourceWorkspaceProxy"
]