Page MenuHomePhabricator

Collect mobile phone statistics and send them to Graphite
Closed, ResolvedPublic

Description

We should look into how to collect statistics from the actual: CPU usage, storage etc and then collect these metrics and send them to Graphite so we can keep track on how the device is doing over time.

Event Timeline

Peter triaged this task as Medium priority.
Reedy renamed this task from Collect mobil phone statistics and send them to Graphite to Collect mobile phone statistics and send them to Graphite.Jan 17 2019, 3:12 PM

I've been listening to the Chrome teams setup and they wait for the battery heat to come down before they make the next run (to get more stable metrics). It wasn't something I saw as an issue when I run the tests before but we should prepare for getting those numbers (it should be pretty straight forward).

The simplest way to get the temperature is:

adb -s ZY3222N2CZ shell dumpsys battery | grep temperature | grep -Eo '[0-9]{1,3}'

And then divide it with 10 to get the degrees in Celsius.