From dad7ccbcd93011b44ddae16c0c7c58e51abb68f6 Mon Sep 17 00:00:00 2001 From: Vadim Yalovets Date: Thu, 1 Feb 2024 12:13:27 +0200 Subject: [PATCH] Adding telemetry --- percona/content.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/percona/content.md b/percona/content.md index 5a0c4387d..97dcb8505 100644 --- a/percona/content.md +++ b/percona/content.md @@ -138,6 +138,14 @@ $ docker run --name some-mysql -e MYSQL_ROOT_PASSWORD_FILE=/run/secrets/mysql-ro Currently, this is only supported for `MYSQL_ROOT_PASSWORD`, `MYSQL_ROOT_HOST`, `MYSQL_DATABASE`, `MYSQL_USER`, and `MYSQL_PASSWORD`. +## Telemetry + +Starting with Percona Server 8.0.35-27, telemetry will be enabled by default. If you decide not to send usage data to Percona, you can set the `PERCONA_TELEMETRY_DISABLE=1` environment variable. For example: + +```console +$ docker run --name some-mysql -e PERCONA_TELEMETRY_DISABLE=1 -d %%IMAGE%%:tag +``` + # Initializing a fresh instance When a container is started for the first time, a new database with the specified name will be created and initialized with the provided configuration variables. Furthermore, it will execute files with extensions `.sh`, `.sql` and `.sql.gz` that are found in `/docker-entrypoint-initdb.d`. Files will be executed in alphabetical order. You can easily populate your `%%IMAGE%%` services by [mounting a SQL dump into that directory](https://docs.docker.com/engine/tutorials/dockervolumes/#mount-a-host-file-as-a-data-volume) and provide [custom images](https://docs.docker.com/reference/builder/) with contributed data. SQL files will be imported by default to the database specified by the `MYSQL_DATABASE` variable.