|
| 1 | +.. _telemetry: |
| 2 | + |
| 3 | +=================== |
| 4 | +Configure Telemetry |
| 5 | +=================== |
| 6 | + |
| 7 | +.. default-domain:: mongodb |
| 8 | + |
| 9 | +.. contents:: On this page |
| 10 | + :local: |
| 11 | + :backlinks: none |
| 12 | + :depth: 1 |
| 13 | + :class: singlecol |
| 14 | + |
| 15 | +{+atlas-cli+}'s telemetry collects anonymous, aggregate usage data to |
| 16 | +identify improvements with the greatest impact. The |
| 17 | +{+atlas-cli+} enables telemetry by default. |
| 18 | + |
| 19 | +Learn What the {+atlas-cli+} Tracks |
| 20 | +----------------------------------- |
| 21 | + |
| 22 | +{+atlas-cli+} telemetry tracks |
| 23 | +non-Personally-Identifiable Information (PII), which includes but is |
| 24 | +not limited to the following information: |
| 25 | + |
| 26 | +.. list-table:: |
| 27 | + :header-rows: 1 |
| 28 | + :widths: 60 40 |
| 29 | + |
| 30 | + * - Data |
| 31 | + - Example Value |
| 32 | + |
| 33 | + * - {+atlas-cli+} version number |
| 34 | + - ``1.0.0`` |
| 35 | + |
| 36 | + * - Installation source |
| 37 | + - ``Homebrew`` |
| 38 | + |
| 39 | + * - Operating System (OS) and OS version |
| 40 | + - ``Windows 11.5`` |
| 41 | + |
| 42 | + * - Authentication method. {+atlas-cli+} telemetry does *not* track |
| 43 | + the values for the |api| keys and login credentials. |
| 44 | + - ``API key`` |
| 45 | + |
| 46 | + * - Details for commands you run. {+atlas-cli+} telemetry tracks |
| 47 | + the options you specify, but does *not* track the values. |
| 48 | + - ``timestamp: 2022-04-11T11:35:46.794119+01:00`` |
| 49 | + ``command: atlas cluster create`` |
| 50 | + ``--provider --region`` |
| 51 | + |
| 52 | + * - Performance information, such as the amount of time it takes for |
| 53 | + the {+atlas-cli+} to execute a command. |
| 54 | + - ``completion timestamp: 2022-04-11T11:35:49.456719+01:00`` |
| 55 | + |
| 56 | + * - Errors you encounter, including the command you run and the |
| 57 | + parameters you use. |
| 58 | + - ``atlas rgister`` |
| 59 | + ``Error: unknown command "rgister" for "atlas"`` |
| 60 | + |
| 61 | +Learn What the {+atlas-cli+} Doesn't Track |
| 62 | +------------------------------------------ |
| 63 | + |
| 64 | +{+atlas-cli+} telemetry *doesn't* track: |
| 65 | + |
| 66 | +.. list-table:: |
| 67 | + :header-rows: 1 |
| 68 | + :widths: 60 40 |
| 69 | + |
| 70 | + * - Data |
| 71 | + - Example |
| 72 | + |
| 73 | + * - PII and values that could potentially contain PII, including all |
| 74 | + free-text fields such as custom names or database user |
| 75 | + names. |
| 76 | + - ``--clusterName MyCluster`` |
| 77 | + |
| 78 | + * - |api| key values or |service| login credentials. |
| 79 | + - ``private_api_key abcdefghi123456789`` |
| 80 | + |
| 81 | + |
| 82 | +Disable Telemetry for the {+atlas-cli+} |
| 83 | +--------------------------------------- |
| 84 | + |
| 85 | +To disable telemetry for the {+atlas-cli+}, run the following command |
| 86 | +in the terminal: |
| 87 | + |
| 88 | +.. code-block:: sh |
| 89 | + |
| 90 | + atlas config set telemetry_enabled false |
| 91 | + |
| 92 | +You can also disable telemetry in the following ways: |
| 93 | + |
| 94 | +- Navigate to the :ref:`configuration file <config-toml-location>` and |
| 95 | + enter ``telemetry_enabled = false``. |
| 96 | +- Set the :ref:`MONGODB_ATLAS_TELEMETRY_ENABLE environment variable |
| 97 | + <atlas-cli-env-vars>` to ``false``. |
| 98 | + |
| 99 | + |
| 100 | +Enable Telemetry for the {+atlas-cli+} |
| 101 | +-------------------------------------- |
| 102 | + |
| 103 | +The {+atlas-cli+} enables telemetry by default. If telemetry is |
| 104 | +currently disabled, you can enable telemetry by running the following |
| 105 | +command in the terminal: |
| 106 | + |
| 107 | +.. code-block:: sh |
| 108 | + |
| 109 | + atlas config set telemetry_enabled true |
| 110 | + |
| 111 | +You can also enable telemetry in the following ways: |
| 112 | + |
| 113 | +- Navigate to the :ref:`configuration file <config-toml-location>` and |
| 114 | + remove ``telemetry_enabled = false``. |
| 115 | +- Set the :ref:`MONGODB_ATLAS_TELEMETRY_ENABLE environment variable |
| 116 | + <atlas-cli-env-vars>` to ``true``. |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
0 commit comments