MCPcopy Index your code
hub / github.com/coder/coder / Register

Method Register

coderd/provisionerdserver/metrics.go:127–135  ·  view source on GitHub ↗
(reg prometheus.Registerer)

Source from the content-addressed store, hash-verified

125}
126
127func (m *Metrics) Register(reg prometheus.Registerer) error {
128 if err := reg.Register(m.workspaceCreationTimings); err != nil {
129 return err
130 }
131 if err := reg.Register(m.workspaceClaimTimings); err != nil {
132 return err
133 }
134 return reg.Register(m.jobQueueWait)
135}
136
137// IsTrackable returns true if the workspace build should be tracked in metrics.
138// This includes workspace creation, prebuild creation, and prebuild claims.

Callers 15

enablePrometheusFunction · 0.95
ActiveUsersFunction · 0.45
UsersFunction · 0.45
WorkspacesFunction · 0.45
AgentsFunction · 0.45
AgentStatsFunction · 0.45
ExperimentsFunction · 0.45
BuildInfoFunction · 0.45

Calls

no outgoing calls