Modify the function CollectUSEMetrics

Modify the function CollectUSEMetrics so that it takes
in a component instead of being implemented by every
component. This removes repetition that was originally
present

Change-Id: I3d5a6def8102609924a63b4a6d68c6d3807b5cfd
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/20670
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: Dexter Rivera <riverade@google.com>
Tested-by: Dexter Rivera <riverade@google.com>
2 files changed
tree: 865f08bfb2c2c827d92a10f7ae2ddbab872778af
  1. release/
  2. src/
  3. testing/
  4. BUILD.bazel
  5. cloudbuild.yaml
  6. CONTRIBUTING.md
  7. deps.bzl
  8. go.mod
  9. go.sum
  10. LICENSE
  11. README.md
  12. run_tests.sh
  13. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.