Revert "Revert^2 "[metrics] Add background reporting thread""

This reverts commit 4c176b9de6c430422395017910633bcb001b2e84.

Reason for revert: Test fails on target.

Change-Id: Idfef53679cf602c7c10a9cc0ffb16fda583ed78f
16 files changed