-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PXC-4234 Add telemetry topics (8.0) (#124)
new file: docs/telemetry.md modified: mkdocs-base.yml
- Loading branch information
1 parent
144edbf
commit 87e364a
Showing
6 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Telemetry on Percona XtraDB Cluster | ||
|
||
Percona telemetry fills in the gaps in our understanding of how you use Percona XtraDB Cluster to improve our products. Participation in the anonymous program is optional. You can opt-out if you prefer to not share this information. | ||
|
||
## What information is collected | ||
|
||
At this time, telemetry is added only to the Percona packages and Docker images. Percona XtraDB Cluster collects only information about the installation environment. Future releases may add additional metrics. | ||
|
||
Be assured that access to this raw data is rigorously controlled. Percona does not collect personal data. All data is anonymous and cannot be traced to a specific user. To learn more about our privacy practices, read our [Percona Privacy statement]. | ||
|
||
An example of the data collected is the following: | ||
|
||
```JSON | ||
[{"id" : "c416c3ee-48cd-471c-9733-37c2886f8231", | ||
"product_family" : "PRODUCT_FAMILY_PXC", | ||
"instanceId" : "6aef422e-56a7-4530-af9d-94cc02198343", | ||
"createTime" : "2023-10-16T10:46:23Z", | ||
"metrics": | ||
[{"key" : "deployment","value" : "PACKAGE"}, | ||
{"key" : "pillar_version","value" : "8.0.34-26"}, | ||
{"key" : "OS","value" : "Oracle Linux Server 8.8"}, | ||
{"key" : "hardware_arch","value" : "x86_64 x86_64"}]}] | ||
``` | ||
|
||
## Disable telemetry | ||
|
||
Starting with Percona XtraDB Cluster 8.0.34-26-1, telemetry is enabled by default. If you decide not to send usage data to Percona, you can set the `PERCONA_TELEMETRY_DISABLE=1` environment variable for either the root user or in the operating system prior to the installation process. | ||
|
||
=== "Debian-derived distribution" | ||
|
||
Add the environment variable before the install process. | ||
|
||
```{.bash data-prompt="$"} | ||
$ sudo PERCONA_TELEMETRY_DISABLE=1 apt install percona-xtradb-cluster | ||
``` | ||
|
||
=== "Red Hat-derived distribution" | ||
|
||
Add the environment variable before the install process. | ||
|
||
```{.bash data-prompt="$"} | ||
$ sudo PERCONA_TELEMETRY_DISABLE=1 yum install percona-xtradb-cluster | ||
``` | ||
|
||
=== "DOCKER" | ||
|
||
Add the environment variable when running a command in a new container. | ||
|
||
```{.bash data-prompt="$"} | ||
$ docker run -d -e MYSQL_ROOT_PASSWORD=test1234# -e PERCONA_TELEMETRY_DISABLE=1 -e CLUSTER_NAME=pxc-cluster1 --name=pxc-node1 percona/percona-xtradb-cluster:8.0 | ||
``` | ||
|
||
[Percona Privacy statement]: https://www.percona.com/privacy-policy#h.e34c40q8sb1a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters