8000 chore: add dynamic parameter template value to telemetry by Emyrk · Pull Request #18414 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore: add dynamic parameter template value to telemetry #18414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 17, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: add dynamic parameter template value to telemetry
  • Loading branch information
Emyrk committed Jun 17, 2025
commit 1cbe261723d5d5d65e02b1ae9128333f3ff5e5af
2 changes: 2 additions & 0 deletions coderd/telemetry/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,7 @@ func ConvertTemplate(dbTemplate database.Template) Template {
AutostartAllowedDays: codersdk.BitmapToWeekdays(dbTemplate.AutostartAllowedDays()),
RequireActiveVersion: dbTemplate.RequireActiveVersion,
Deprecated: dbTemplate.Deprecated != "",
UseClassicParameterFlow: dbTemplate.UseClassicParameterFlow,
}
}

Expand Down Expand Up @@ -1396,6 +1397,7 @@ type Template struct {
AutostartAllowedDays []string `json:"autostart_allowed_days"`
RequireActiveVersion bool `json:"require_active_version"`
Deprecated bool `json:"deprecated"`
UseClassicParameterFlow bool `db:"use_classic_parameter_flow" json:"use_classic_parameter_flow"`
}

type TemplateVersion struct {
Expand Down
Loading
0