GetTemplateAppInsights returns the aggregate usage of each app in a given timeframe. The result can be filtered on template_ids, meaning only user data from workspaces based on those templates will be included.
(ctx context.Context, arg GetTemplateAppInsightsParams)
| 693 | // timeframe. The result can be filtered on template_ids, meaning only user data |
| 694 | // from workspaces based on those templates will be included. |
| 695 | GetTemplateAppInsights(ctx context.Context, arg GetTemplateAppInsightsParams) ([]GetTemplateAppInsightsRow, error) |
| 696 | // GetTemplateAppInsightsByTemplate is used for Prometheus metrics. Keep |
| 697 | // in sync with GetTemplateAppInsights and UpsertTemplateUsageStats. |
| 698 | GetTemplateAppInsightsByTemplate(ctx context.Context, arg GetTemplateAppInsightsByTemplateParams) ([]GetTemplateAppInsightsByTemplateRow, error) |
no outgoing calls