blob: b42507c9a8d575647a02ff244af8ce0118ca50ff [file] [log] [blame] [view]
# fx metrics
manage collection of metrics in fx tools
```none
usage:
fx metrics
Show what metrics are collected when enabled
fx metrics status
Show if metrics collection is enabled or disabled
fx metrics [--log=LOG_FILE] enable
Enable metrics collection in fx tools
--log=<LOG_FILE> Log all metrics collected to LOG_FILE for
debugging purposes. The LOG_FILE setting is persisted
in a config file in the /tmp filesystem and will be
reset when the user logs out.
fx metrics disable
Disable metrics collection in fx tools
If you opt-in to metrics collection, data will be collected and used by
Google in accordance with the Google privacy policy
(https://policies.google.com/privacy)
```
[metrics source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/metrics)