mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix(coderd): use insights for DAUs, simplify metricscache (#12775)
Fixes #12134 Fixes https://github.com/coder/customers/issues/384 Refs #12122
This commit is contained in:
committed by
GitHub
parent
5d82a78d4c
commit
421bf7e785
@ -366,8 +366,8 @@ func New(options *Options) *API {
|
||||
options.Database,
|
||||
options.Logger.Named("metrics_cache"),
|
||||
metricscache.Intervals{
|
||||
TemplateDAUs: options.MetricsCacheRefreshInterval,
|
||||
DeploymentStats: options.AgentStatsRefreshInterval,
|
||||
TemplateBuildTimes: options.MetricsCacheRefreshInterval,
|
||||
DeploymentStats: options.AgentStatsRefreshInterval,
|
||||
},
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user