platform_system_core/metricsd/uploader
Bertrand SIMONNET 608e428006 metricsd: Split into two daemons.
This CL splits metrics_daemon into two independent daemons: metricsd and
metrics_collector.

* metricsd will be responsible for reading the metrics from disk and
  periodically uploading them to the server.
* metrics_collector will be responsible for gathering generic metrics
  from the system and managing the weave state for metrics.

This refactoring is necessary to prepare the migration of metricsd to
log over binder.

Bug: 25670908
Test: Unit tests.
Test: manual: both daemons run. Metrics are logged, uploaded and the
      weave interaction works.

Change-Id: Ib00e1772bb7eec87cbcdcd912c30b555d79d7074
2015-11-18 09:54:16 -08:00
..
mock metricsd: Make the unit tests pass. 2015-09-02 13:30:48 -07:00
proto metricsd: Rename build_target_id to product_id. 2015-10-06 15:27:37 -07:00
metrics_hashes.cc metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
metrics_hashes.h metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
metrics_hashes_unittest.cc metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
metrics_log.cc metricsd: Don't crash when some metadata is missing. 2015-08-20 11:57:50 -07:00
metrics_log.h metricsd: Don't crash when some metadata is missing. 2015-08-20 11:57:50 -07:00
metrics_log_base.cc Use GetBuildTime from libchrome instead of __DATE__ 2015-10-29 13:02:42 -07:00
metrics_log_base.h metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
metrics_log_base_unittest.cc metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
sender.h metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
sender_http.cc system/core: Rename "chromeos" -> "brillo" in include paths and namespaces 2015-10-13 15:29:24 -07:00
sender_http.h core: Rename libchromeos into libbrillo 2015-10-27 11:46:37 -07:00
system_profile_cache.cc metricsd: Split into two daemons. 2015-11-18 09:54:16 -08:00
system_profile_cache.h metricsd: Don't upload if product id is empty. 2015-11-17 13:22:30 -08:00
system_profile_setter.h metricsd: Don't crash when some metadata is missing. 2015-08-20 11:57:50 -07:00
upload_service.cc metricsd: Split into two daemons. 2015-11-18 09:54:16 -08:00
upload_service.h metricsd: Split into two daemons. 2015-11-18 09:54:16 -08:00
upload_service_test.cc metricsd: Split into two daemons. 2015-11-18 09:54:16 -08:00