8000 chore: track workspace resource monitors in telemetry by hugodutka · Pull Request #16776 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore: track workspace resource monitors in telemetry #16776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 3, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
< 8000 details-toggle>
Diff view
Diff view
Next Next commit
sql queries
  • Loading branch information
hugodutka committed Mar 3, 2025
commit 7207ede51ce908eb09418f4307d57969bef90436
16 changes: 16 additions & 0 deletions coderd/database/queries/workspaceagentresourcemonitors.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
-- name: FetchVolumesResourceMonitorsUpdatedAfter :many
SELECT
*
FROM
workspace_agent_volume_resource_monitors
WHERE
updated_at > $1;

-- name: FetchMemoryResourceMonitorsUpdatedAfter :many
SELECT
*
FROM
workspace_agent_memory_resource_monitors
WHERE
updated_at > $1;

-- name: FetchMemoryResourceMonitorsByAgentID :one
SELECT
*
Expand Down
0