(now time.Time, agentID uuid.UUID, templateID uuid.UUID, userID uuid.UUID, workspaceID uuid.UUID, st *agentproto.Stats, usage bool)
| 26 | |
| 27 | type 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 |
no outgoing calls