Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache holds the template metrics. The aggregation queries responsible for these values can take up to a minute on large deployments. Even in small deployments, aggregation queries can take a few hundred milliseconds, which would ruin page load times and database performance if in the hot path.
func (*Cache) DeploymentStats ¶
func (c *Cache) DeploymentStats() (codersdk.DeploymentStats, bool)
func (*Cache) TemplateBuildTimeStats ¶
func (c *Cache) TemplateBuildTimeStats(id uuid.UUID) codersdk.TemplateBuildTimeStats
Click to show internal directories.
Click to hide internal directories.