Returns all data needed to build task lifecycle events for telemetry in a single round-trip. For each task whose workspace is in the given set, fetches: - the latest workspace app binding (task_workspace_apps) - the most recent stop and start builds (workspace_builds) - the last "working" app status
(ctx context.Context, arg GetTelemetryTaskEventsParams)
| 689 | // because each resume cycle provisions a new app ID. This ensures |
| 690 | // pre-pause statuses contribute to idle duration and active duration. |
| 691 | GetTelemetryTaskEvents(ctx context.Context, arg GetTelemetryTaskEventsParams) ([]GetTelemetryTaskEventsRow, error) |
| 692 | // GetTemplateAppInsights returns the aggregate usage of each app in a given |
| 693 | // timeframe. The result can be filtered on template_ids, meaning only user data |
| 694 | // from workspaces based on those templates will be included. |
no outgoing calls