tree: 4004dd4c20277f7fdcd61aea74b9f2761ff59f0a [path history] [tgz]
  1. meta/
  2. testing/
  3. activity_listener.cc
  4. activity_listener.h
  5. BUILD.gn
  6. cpu_stats_fetcher.h
  7. cpu_stats_fetcher_impl.cc
  8. cpu_stats_fetcher_impl.h
  9. granular_error_stats_specs.txt
  10. README.md
  11. system_metrics_daemon.cc
  12. system_metrics_daemon.h
  13. system_metrics_daemon_test.cc
  14. system_metrics_main.cc
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