mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: Add Kubernetes and resource metadata telemetry (#3548)
Fixes #3524.
This commit is contained in:
@@ -44,3 +44,8 @@ INSERT INTO
|
||||
workspace_resource_metadata (workspace_resource_id, key, value, sensitive)
|
||||
VALUES
|
||||
($1, $2, $3, $4) RETURNING *;
|
||||
|
||||
-- name: GetWorkspaceResourceMetadataCreatedAfter :many
|
||||
SELECT * FROM workspace_resource_metadata WHERE workspace_resource_id = ANY(
|
||||
SELECT id FROM workspace_resources WHERE created_at > $1
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user