@@ -145,7 +145,7 @@ type Options struct {
145
145
Logger * slog.Logger
146
146
StatsBatcher * batchstats.Batcher
147
147
148
- WorkspaceAppsStatsCollector * workspaceapps.StatsCollector
148
+ WorkspaceAppsStatsCollectorOptions workspaceapps.StatsCollectorOptions
149
149
}
150
150
151
151
// New constructs a codersdk client connected to an in-memory API instance.
@@ -396,38 +396,38 @@ func NewOptions(t testing.TB, options *Options) (func(http.Handler), context.Can
396
396
Pubsub : options .Pubsub ,
397
397
GitAuthConfigs : options .GitAuthConfigs ,
398
398
399
- Auditor : options .Auditor ,
400
- AWSCertificates : options .AWSCertificates ,
401
- AzureCertificates : options .AzureCertificates ,
402
- GithubOAuth2Config : options .GithubOAuth2Config ,
403
- RealIPConfig : options .RealIPConfig ,
404
- OIDCConfig : options .OIDCConfig ,
405
- GoogleTokenValidator : options .GoogleTokenValidator ,
406
- SSHKeygenAlgorithm : options .SSHKeygenAlgorithm ,
407
- DERPServer : derpServer ,
408
- APIRateLimit : options .APIRateLimit ,
409
- LoginRateLimit : options .LoginRateLimit ,
410
- FilesRateLimit : options .FilesRateLimit ,
411
- Authorizer : options .Authorizer ,
412
- Telemetry : telemetry .NewNoop (),
413
- TemplateScheduleStore : & templateScheduleStore ,
414
- TLSCertificates : options .TLSCertificates ,
415
- TrialGenerator : options .TrialGenerator ,
416
- TailnetCoordinator : options .Coordinator ,
417
- BaseDERPMap : derpMap ,
418
- DERPMapUpdateFrequency : 150 * time .Millisecond ,
419
- MetricsCacheRefreshInterval : options .MetricsCacheRefreshInterval ,
420
- AgentStatsRefreshInterval : options .AgentStatsRefreshInterval ,
421
- DeploymentValues : options .DeploymentValues ,
422
- UpdateCheckOptions : options .UpdateCheckOptions ,
423
- SwaggerEndpoint : options .SwaggerEndpoint ,
424
- AppSecurityKey : AppSecurityKey ,
425
- SSHConfig : options .ConfigSSH ,
426
- HealthcheckFunc : options .HealthcheckFunc ,
427
- HealthcheckTimeout : options .HealthcheckTimeout ,
428
- HealthcheckRefresh : options .HealthcheckRefresh ,
429
- StatsBatcher : options .StatsBatcher ,
430
- WorkspaceAppsStatsCollector : options .WorkspaceAppsStatsCollector ,
399
+ Auditor : options .Auditor ,
400
+ AWSCertificates : options .AWSCertificates ,
401
+ AzureCertificates : options .AzureCertificates ,
402
+ GithubOAuth2Config : options .GithubOAuth2Config ,
403
+ RealIPConfig : options .RealIPConfig ,
404
+ OIDCConfig : options .OIDCConfig ,
405
+ GoogleTokenValidator : options .GoogleTokenValidator ,
406
+ SSHKeygenAlgorithm : options .SSHKeygenAlgorithm ,
407
+ DERPServer : derpServer ,
408
+ APIRateLimit : options .APIRateLimit ,
409
+ LoginRateLimit : options .LoginRateLimit ,
410
+ FilesRateLimit : options .FilesRateLimit ,
411
+ Authorizer : options .Authorizer ,
412
+ Telemetry : telemetry .NewNoop (),
413
+ TemplateScheduleStore : & templateScheduleStore ,
414
+ TLSCertificates : options .TLSCertificates ,
415
+ TrialGenerator : options .TrialGenerator ,
416
+ TailnetCoordinator : options .Coordinator ,
417
+ BaseDERPMap : derpMap ,
418
+ DERPMapUpdateFrequency : 150 * time .Millisecond ,
419
+ MetricsCacheRefreshInterval : options .MetricsCacheRefreshInterval ,
420
+ AgentStatsRefreshInterval : options .AgentStatsRefreshInterval ,
421
+ DeploymentValues : options .DeploymentValues ,
422
+ UpdateCheckOptions : options .UpdateCheckOptions ,
423
+ SwaggerEndpoint : options .SwaggerEndpoint ,
424
+ AppSecurityKey : AppSecurityKey ,
425
+ SSHConfig : options .ConfigSSH ,
426
+ HealthcheckFunc : options .HealthcheckFunc ,
427
+ HealthcheckTimeout : options .HealthcheckTimeout ,
428
+ HealthcheckRefresh : options .HealthcheckRefresh ,
429
+ StatsBatcher : options .StatsBatcher ,
430
+ WorkspaceAppsStatsCollectorOptions : options .WorkspaceAppsStatsCollectorOptions ,
431
431
}
432
432
}
433
433
0 commit comments