MCPcopy Index your code
hub / github.com/coder/coder / GetDeploymentWorkspaceAgentStats

Method GetDeploymentWorkspaceAgentStats

coderd/database/dbauthz/dbauthz.go:3382–3384  ·  view source on GitHub ↗
(ctx context.Context, createdAfter time.Time)

Source from the content-addressed store, hash-verified

3380}
3381
3382func (q *querier) GetDeploymentWorkspaceAgentStats(ctx context.Context, createdAfter time.Time) (database.GetDeploymentWorkspaceAgentStatsRow, error) {
3383 return q.db.GetDeploymentWorkspaceAgentStats(ctx, createdAfter)
3384}
3385
3386func (q *querier) GetDeploymentWorkspaceAgentUsageStats(ctx context.Context, createdAt time.Time) (database.GetDeploymentWorkspaceAgentUsageStatsRow, error) {
3387 return q.db.GetDeploymentWorkspaceAgentUsageStats(ctx, createdAt)

Callers

nothing calls this directly

Tested by

no test coverage detected