tree: e4ed07e1c12e12b168d3f4df08c2aa67837695b3 [path history] [tgz]
  1. meta/
  2. testing/
  3. activity_listener.cc
  4. activity_listener.h
  5. archivist_stats_fetcher.h
  6. archivist_stats_fetcher_impl.cc
  7. archivist_stats_fetcher_impl.h
  8. archivist_stats_fetcher_impl_test.cc
  9. BUILD.gn
  10. cpu_stats_fetcher.h
  11. cpu_stats_fetcher_impl.cc
  12. cpu_stats_fetcher_impl.h
  13. log_stats_component_allowlist.txt
  14. log_stats_fetcher.h
  15. log_stats_fetcher_impl.cc
  16. log_stats_fetcher_impl.h
  17. log_stats_fetcher_impl_test.cc
  18. README.md
  19. system_metrics_daemon.cc
  20. system_metrics_daemon.h
  21. system_metrics_daemon_test.cc
  22. system_metrics_main.cc
  23. temperature_fetcher.h
  24. temperature_fetcher_impl.cc
  25. temperature_fetcher_impl.h
src/cobalt/bin/system-metrics/README.md

Cobalt System Metrics Daemon

The Cobalt System Metrics Daemon starts early after boot on a Fuchsia system and periodically measures several system metrics and logs the values to Cobalt. The daemon is not part of the Cobalt telemetry system but rather a client of it that happens to be owned by the Cobalt team.

If you would like to start measuring a new system metric on Fuchsia you might consider adding the instrumentation to this daemon. That would be appropriate if

  • the metric is about the Fuchsia system as a whole
  • there is no other Fuchsia component where it would be more appropriate to add the instrumentation
  • the instrumentation periodically polls some measurement