fx metrics

manage collection of metrics in fx tools

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

metrics source code