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

Method GetWorkspaceAgentUsageStats

coderd/database/dbauthz/dbauthz.go:4985–4987  ·  view source on GitHub ↗
(ctx context.Context, createdAt time.Time)

Source from the content-addressed store, hash-verified

4983}
4984
4985func (q *querier) GetWorkspaceAgentUsageStats(ctx context.Context, createdAt time.Time) ([]database.GetWorkspaceAgentUsageStatsRow, error) {
4986 return q.db.GetWorkspaceAgentUsageStats(ctx, createdAt)
4987}
4988
4989func (q *querier) GetWorkspaceAgentUsageStatsAndLabels(ctx context.Context, createdAt time.Time) ([]database.GetWorkspaceAgentUsageStatsAndLabelsRow, error) {
4990 return q.db.GetWorkspaceAgentUsageStatsAndLabels(ctx, createdAt)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected