blob: 433795296da68d3a59bf2ff4d24fc32a0529d51d [file] [view]
# Analytics & Telemetry
Enable enhanced analytics to help us improve Fuchsia tools!
You are identified as a Googler since your hostname ends with `corp.google.com` or `c.googlers.com`. To better understand how Fuchsia tools are used, and help improve these tools and your workflow, Google already has an option, as you know, to collect basic, very redacted, analytics listed in [Analytics Collected](https://fuchsia.dev/fuchsia-src/contribute/governance/policy/analytics_collected_fuchsia_tools).
As a Googler, you can help us even more by opting in to enhanced analytics:
```bash
ffx config analytics enable-enhanced
```
> **Note:** You may need to first run `fx build` to get the latest `ffx` if the above does not work.
Enabling enhanced analytics may collect the following additional information, in accordance with [Google's Employee Privacy Policy](http://go/employee-privacy-policy):
- Full command line arguments
- Product name (e.g. core, minimal, etc.)
- Board type (e.g. vim3, x64, etc.)
- Environment variables that affect behavior of the tools
- User/Host/Target environment (e.g. tool/system versions, connection type such as Network/USB/Remote, etc.)
- Full stacktrace
- Logs
- Content of configuration files (e.g. `args.gn`)
> **Note:** Before any data is sent, we will replace the value of `$USER` with the literal string `"$USER"` and also redact `$HOSTNAME` in a similar way.
To collect basic analytics only, enter:
```bash
ffx config analytics enable
```
If you want to disable all analytics, enter:
```bash
ffx config analytics disable
```
To display the current setting and what is collected, type:
```bash
ffx config analytics show
```
[See Google's employee privacy policy](http://go/employee-privacy-policy)