README 1.0 KB

1234567891011121314151617181920212223
  1. This component contains the base classes for the metrics service and only
  2. depends on //base. It is used by ChromeOS as the base for a standalone service
  3. that will upload the metrics when ChromeOS is not installed (headless install).
  4. This is the first step towards the componentization of metrics that will happen
  5. later this spring.
  6. A proposed structure for the metrics component is:
  7. //components/metrics/base,
  8. Depends on base only. Contains the protobuf definitions.
  9. //components/metrics/core
  10. Depends on everything iOS depends on
  11. //components/metrics/content
  12. Depends on content
  13. Ideally, the component would abstract the network stack and have a clean
  14. separation between the metrics upload logic (protbuf generation, retry, etc...),
  15. the chrome part (gathering histogram from all the threads, populating the
  16. log with hardware characteristics, plugin state, etc.).
  17. It is a plus if the code currently in the component (i.e., the code that can
  18. depend only on //base) stays in a single directory as it would be easier
  19. for ChromeOS to pull it :).