This directory contains implementation of internal analytics of Missive via UMA.
To add a new analytics resource:
Create a new class ResourceCollectorMyResource
that inherits ResourceCollector
.
Implement ResourceCollectorMyResource::Collect
according to the document.
Register it to the registry in the MissiveDaemon
constructor by calling
analytics_registry_.Add("MyResource", std::make_unique<ResourceCollectorMyResource>(base::Minutes(10)))
Feel free to replace base::Minutes(10)
above with any reasonable time interval.