summaryrefslogtreecommitdiffstats
path: root/metricsd
diff options
context:
space:
mode:
authorBertrand SIMONNET <bsimonnet@google.com>2015-08-04 14:12:10 -0700
committerBertrand SIMONNET <bsimonnet@google.com>2015-08-10 15:26:01 -0700
commitbae5dcce9b0ec357d3fe0340583537354439bbe0 (patch)
tree11d2c880a9a9058322085180910d50cd953ad31f /metricsd
parent855b618fbabc032f3ba1eb2232e1766e76298cba (diff)
downloadcore-bae5dcce9b0ec357d3fe0340583537354439bbe0.tar.gz
core-bae5dcce9b0ec357d3fe0340583537354439bbe0.tar.bz2
core-bae5dcce9b0ec357d3fe0340583537354439bbe0.zip
metrics: Enable for non-official builds.
The metrics uploader used to be disabled for non-official images to avoid polluting the production data with possibly wrong measurements. This is inconvenient for developers as they can only be sure that a new metric was added properly until the changes reached a product device. Instead, this CL change the metrics daemon to upload metrics iff the consent file exists. To ensure that testing data does not pollute the production data, we set the channel to UNKNOWN and the version to 0.0.0.0 when the image is not official (implied by channel and version missing). BUG: 22879597 Change-Id: If03847090b732cc06270cbcc8b386b5f9e544a3d
Diffstat (limited to 'metricsd')
0 files changed, 0 insertions, 0 deletions