[sysmon] Rename sysmon get_* functions
get_ is a really bad name for these functions since get/set are
standard names for getters and setters, and these functions dont
actually get and return a value, they collect and send metrics as a
side effect.
BUG=None
TEST=None
Change-Id: I9677a6043e7a65d6328bb688e84ee8648510bf1e
Reviewed-on: https://chromium-review.googlesource.com/448804
Commit-Ready: Allen Li <ayatane@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
diff --git a/scripts/sysmon/osinfo_metrics.py b/scripts/sysmon/osinfo_metrics.py
index 0a7806d..665e2e7 100644
--- a/scripts/sysmon/osinfo_metrics.py
+++ b/scripts/sysmon/osinfo_metrics.py
@@ -33,7 +33,7 @@
description='python userland architecture on this machine')
-def get_os_info():
+def collect_os_info():
os_info = _get_osinfo()
_os_name_metric.set(os_info.name)
_os_version_metric.set(os_info.version)