Cobalt is a system for collecting metrics from Fuchsia devices, sending metric observations to servers running in the cloud, aggregating and analyzing the collected observations and generating useful reports and visualizations. Cobalt emphasizes the preservation of user privacy while collecting high-quality, useful analytics.
Fuchsia code uses Cobalt through its FIDL protocol. See
The Cobalt test app
cobalt_testapp.cc serves as an example usage of the Cobalt FIDL service.
$ fx set x64 $ fx full-build
Start Fuchsia. For example:
$ fx run -m 3000 -k -n
From within Fuchsia:
$ system/test/cobalt_testapp --verbose=3