Skip to content

Notifications: Report template build times #14939

Open
@stirby

Description

@stirby

From what I understand, we now have high-fidelity metrics to understand build times, including agent scripts and provisioning time. We should add a new weekly report to show the average build times of each template.

Unsure at what granularity we can/should breakdown the "contributing factors" section.

Hi <user>, 

The template **<template-name>** has built **<build-count>** times over the past week with an average startup time of **<:.3f>** seconds. 

Breakdown of contributing factors:
Build Step    | Average time | Peak time
------------- | ------------ | ---------
Provisioning  | 0.00 sec     | 1.00 sec
Agent startup | 0.00 sec     | 1.00 sec 
Agent scripts | 0.00 sec     | 1.00 sec 

**Report:**

**<template-version-n>** had an average build time of <version-avg-build-time> seconds.
  - <user> / <workspace-name> / <build-num> : <workspace-build-time>
  
  
**<template-version-n-1>** had an average build time of <version-avg-build-time> seconds.
  - <user> / <workspace-name> / <build-num> :  <workspace-build-time>
  

Let me know your thoughts @dannykopping.

Metadata

Metadata

Labels

needs decisionNeeds a higher-level decision to be unblocked.observabilityIssues related to observability (metrics, dashboards, alerts, opentelemetry)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions