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

Struct DCManagedAgentsV1

coderd/usage/usagetypes/events.go:144–146  ·  view source on GitHub ↗

DCManagedAgentsV1 is a discrete usage event for the number of managed agents. This event is sent in the following situations: - Once on first startup after usage tracking is added to the product with the count of all existing managed agents (count=N) - A new managed agent is created (count=1)

Source from the content-addressed store, hash-verified

142// the count of all existing managed agents (count=N)
143// - A new managed agent is created (count=1)
144type DCManagedAgentsV1 struct {
145 Count uint64 `json:"count"`
146}
147
148var _ DiscreteEvent = DCManagedAgentsV1{}
149

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected