mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
feat: expose app insights as Prometheus metrics (#10346)
This commit is contained in:
@ -200,6 +200,14 @@ const (
|
||||
TemplateAppsTypeApp TemplateAppsType = "app"
|
||||
)
|
||||
|
||||
// Enums define the display name of the builtin app reported.
|
||||
const (
|
||||
TemplateBuiltinAppDisplayNameVSCode string = "Visual Studio Code"
|
||||
TemplateBuiltinAppDisplayNameJetBrains string = "JetBrains"
|
||||
TemplateBuiltinAppDisplayNameWebTerminal string = "Web Terminal"
|
||||
TemplateBuiltinAppDisplayNameSSH string = "SSH"
|
||||
)
|
||||
|
||||
// TemplateAppUsage shows the usage of an app for one or more templates.
|
||||
type TemplateAppUsage struct {
|
||||
TemplateIDs []uuid.UUID `json:"template_ids" format:"uuid"`
|
||||
|
Reference in New Issue
Block a user