Skip to content

feat(coderd): add template app usage to insights #9138

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 11 commits into from
Aug 21, 2023
Prev Previous commit
Next Next commit
nolint
  • Loading branch information
mafredri committed Aug 18, 2023
commit 6fd3d937899b1af7f0122c2d6f0bd262c4923de8
1 change: 1 addition & 0 deletions coderd/insights_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ func TestTemplateInsights(t *testing.T) {
// data by accessing it.
// Insert entries within and outside timeframe.
reporter := workspaceapps.NewStatsDBReporter(coderdAPI.Database, workspaceapps.DefaultStatsDBReporterBatchSize)
//nolint:gocritic // This is a test.
err := reporter.Report(dbauthz.AsSystemRestricted(ctx), []workspaceapps.StatsReport{
{
UserID: user.UserID,
Expand Down