You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/sources/next/misc/usage-collection.md
+8-44
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,9 @@ weight: 02
6
6
7
7
# Usage collection
8
8
9
-
By default, k6 sends a usage report each time it is run, so that we can track how often people use it. This report can be turned off by setting the environment variable `K6_NO_USAGE_REPORT` or by adding the option `--no-usage-report` when executing k6.
9
+
By default, k6 sends an anonymous usage report each time it is run, so that we can track relevant information to be able to build the product making better data-driven decisions. Prioritizing the features that benefit the most and reducing the impact of changes.
10
+
11
+
The report can be turned off by setting the [no usage report](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/k6-options/reference/#no-usage-report) option setting the environment variable `K6_NO_USAGE_REPORT` or by adding the flag `--no-usage-report` when executing k6.
10
12
11
13
The usage report does not contain any information about what you are testing. The contents are the following:
12
14
@@ -17,49 +19,11 @@ The usage report does not contain any information about what you are testing. Th
17
19
- VU iterations configured (number)
18
20
- The running program's operating system target (`darwin`, `freebsd`, `linux`...)
19
21
- The running program's architecture target (386, amd64, arm, s390x...)
22
+
- The list of JavaScript imported modules (`k6/http`, `k6/experimental/webcrypto`, ...)
23
+
- The list of used outputs (`json`, `influxdb`, ...)
20
24
21
-
This info is sent to an HTTP server that collects statistics on k6 usage.
22
-
23
-
For those interested, here is the actual Go [code](https://github.com/grafana/k6/blob/master/cmd/run.go) that generates and sends the usage report:
This report is sent to an HTTPS server that collects statistics on k6 usage.
64
28
65
-
{{< /code >}}
29
+
k6 is an open-source project and for those interested, the actual code that generates and sends the usage report can be directly reviewed [here](https://github.com/grafana/k6/blob/d031d2b65e9e28143742b4b109f383e6b103ab31/cmd/report.go).
0 commit comments