We're starting to collect metrics about how developers use gclient and other tools in depot_tools to better understand the performance and failure modes of the tools, as well of the pain points and workflows of depot_tools users.
We will collect metrics only if you're a Googler on the corp network: If you can access https://cit-cli-metrics.appspot.com/should-upload, then we will collect metrics from you.
The first ten executions of depot_tools commands will print large warnings counting down to zero. When the counter hits zero, metrics collection will automatically begin, and depot_tools will display large warning messages informing you of it. These messages will continue until you explicitly opt in or opt out.
You can run gclient metrics --opt-in
or gclient metrics --opt-out
to do so. And you can opt-in or out at any time.
Please consider opting in. It will allow us to know what features are the most important, what features can we deprecate, and what features should we develop to better cover your use case.
First, some words about what data we are NOT collecting:
The metrics we're collecting are:
gclient sync
).--force
, --revision
).use_relative_paths=True
?recursedeps
?The list of all known strings we collect can be found at https://chromium.googlesource.com/infra/infra/+/master/go/src/infra/appengine/depot_tools_metrics/metrics/metrics_schema.json#45
We might want to collect additional metrics, and if so we will ask you for permission again.
Opting in or out explicitly will stop the messages from being displayed.
You can run gclient metrics
and it will report if you have opted in, out, or not chosen for metrics collection.
If you have not yet explicitly opted in or out you will see a message after each time we collect metrics.
You will stop seeing it once you have explicitly opted in or out of depot_tools metrics collection.
You can run gclient metrics --opt-in
or gclient metrics --opt-out
to do so. And you can opt-in or out at any time.