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

Method TrackUsage

coderd/workspacestats/reporter.go:233–235  ·  view source on GitHub ↗
(workspaceID uuid.UUID)

Source from the content-addressed store, hash-verified

231}
232
233func (r *Reporter) TrackUsage(workspaceID uuid.UUID) {
234 r.opts.UsageTracker.Add(workspaceID)
235}
236
237func (r *Reporter) Close() error {
238 return r.opts.UsageTracker.Close()

Callers 1

postWorkspaceUsageMethod · 0.80

Implementers 1

CoderReportersite/e2e/reporter.ts

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected