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

Method Add

coderd/workspacestats/batcher.go:28–28  ·  view source on GitHub ↗
(now time.Time, agentID uuid.UUID, templateID uuid.UUID, userID uuid.UUID, workspaceID uuid.UUID, st *agentproto.Stats, usage bool)

Source from the content-addressed store, hash-verified

26
27type Batcher interface {
28 Add(now time.Time, agentID uuid.UUID, templateID uuid.UUID, userID uuid.UUID, workspaceID uuid.UUID, st *agentproto.Stats, usage bool)
29}
30
31// DBBatcher holds a buffer of agent stats and periodically flushes them to

Implementers 13

tableStatscoderd/database/migrations/migrate_tes
UsageTrackercoderd/workspacestats/tracker.go
uuidSetcoderd/workspacestats/tracker.go
DBBatchercoderd/workspacestats/batcher.go
StatsBatchercoderd/workspacestats/workspacestatste
Batchercoderd/agentapi/metadatabatcher/metada
DataBuilderprovisionersdk/proto/dataupload.go
connManagertailnet/test/integration/integration.g
multiCloserenterprise/cli/server.go
Indexagent/filefinder/delta.go
fakeWatcheragent/agentcontainers/api_test.go
noopWatcheragent/agentcontainers/watcher/noop.go

Calls

no outgoing calls