mirror of
https://github.com/coder/coder.git
synced 2026-11-25 23:10:44 +08:00
Adds a new statsReporter subcomponent of the agent, which in a later PR will be used to report stats over the v2 API. Refactors the logic a bit so that we can handle starting and stopping stats reporting if the agent API connection drops and reconnects.