|
| 1 | +.. _compass-telemetry: |
| 2 | + |
| 3 | +=========================== |
| 4 | +Configure Telemetry Options |
| 5 | +=========================== |
| 6 | + |
| 7 | +.. facet:: |
| 8 | + :name: genre |
| 9 | + :values: tutorial |
| 10 | + |
| 11 | +.. contents:: On this page |
| 12 | + :local: |
| 13 | + :backlinks: none |
| 14 | + :depth: 1 |
| 15 | + :class: singlecol |
| 16 | + |
| 17 | +|compass-short| collects anonymous aggregated usage data to improve |
| 18 | +MongoDB products. |compass-short| collects this information by default, |
| 19 | +but you can disable this data collection. |
| 20 | + |
| 21 | +About this Task |
| 22 | +--------------- |
| 23 | + |
| 24 | +|compass-short| telemetry tracks the following data: |
| 25 | + |
| 26 | +- The type of MongoDB deployment that you connect |compass-short| to. |
| 27 | + For example, Enterprise Edition, Community Edition, or Atlas Data |
| 28 | + Lake. |
| 29 | + |
| 30 | +- Hostnames of the deployments that you connect |compass-short| to. |
| 31 | + |
| 32 | +- Actions that you perform in |compass-short|, such as creating |
| 33 | + collections and indexes. Telemetry only tracks the general action |
| 34 | + performed, and does not track field values or namespaces. |
| 35 | + |
| 36 | +- Anonymized queries run in |compass-short|. These queries are stored |
| 37 | + such that they cannot be associated to individual users. |
| 38 | + |
| 39 | +- Errors. |
| 40 | + |
| 41 | +|compass-short| *does not* track: |
| 42 | + |
| 43 | +- IP addresses, usernames, or credentials |
| 44 | + |
| 45 | +- Data stored in your MongoDB deployment |
| 46 | + |
| 47 | +- Personal identifiable information |
| 48 | + |
| 49 | +For more information, see `MongoDB's Privacy Policy |
| 50 | +<https://www.mongodb.com/legal/privacy-policy?tck=docs_mongosh>`__. |
| 51 | + |
| 52 | +.. tip:: |
| 53 | + |
| 54 | + |compass-short| Isolated Edition automatically disables telemetry. |
| 55 | + For more information on different |compass-short| editions, see |
| 56 | + :ref:`compass-feature-table`. |
| 57 | + |
| 58 | +Steps |
| 59 | +----- |
| 60 | + |
| 61 | +You can toggle telemetry in either: |
| 62 | + |
| 63 | +- The |compass-short| :ref:`Settings window |
| 64 | + <compass-settings-reference>` |
| 65 | + |
| 66 | +- :ref:`Command line options <cli-options>` |
| 67 | + |
| 68 | +- :ref:`Configuration file options <config-file>` |
| 69 | + |
| 70 | +Settings Window |
| 71 | +~~~~~~~~~~~~~~~ |
| 72 | + |
| 73 | +To toggle telemetry from the |compass-short| settings: |
| 74 | + |
| 75 | +.. procedure:: |
| 76 | + :style: normal |
| 77 | + |
| 78 | + .. step:: Open the Settings window. |
| 79 | + |
| 80 | + a. In the |compass-short| top menu bar, click :guilabel:`MongoDB Compass` |
| 81 | + |
| 82 | + b. Click :guilabel:`Settings` |
| 83 | + |
| 84 | + .. figure:: /images/compass/settings-panel-location.png |
| 85 | + :scale: 40% |
| 86 | + :alt: Settings window location under the MongoDB Compass system menu |
| 87 | + |
| 88 | + .. tip:: |
| 89 | + |
| 90 | + Alternatively, you can use keyboard shortcuts to open the |
| 91 | + :guilabel:`Settings` window: |
| 92 | + |
| 93 | + - Windows / Linux: ``Ctrl`` + ``,`` |
| 94 | + |
| 95 | + - Mac: ``⌘`` + ``,`` |
| 96 | + |
| 97 | + .. step:: In the left pane of the :guilabel:`Settings` window, click :guilabel:`Privacy`. |
| 98 | + |
| 99 | + .. step:: Toggle :guilabel:`Enable Usage Statistics`. |
| 100 | + |
| 101 | + .. step:: Click :guilabel:`Save`. |
| 102 | + |
| 103 | +Command Line |
| 104 | +~~~~~~~~~~~~ |
| 105 | + |
| 106 | +To disable telemetry from the command line, start |compass-short| with |
| 107 | +the ``--no-trackUsageStatistics`` option. |
| 108 | + |
| 109 | +.. code-block:: sh |
| 110 | + |
| 111 | + <path-to-Compass-executable> --no-trackUsageStatistics |
| 112 | + |
| 113 | +.. note:: |
| 114 | + |
| 115 | + The name and filepath of the |compass-short| executable depend on your |
| 116 | + operating system. For more information, see |
| 117 | + :ref:`compass-executable-location`. |
| 118 | + |
| 119 | +Configuration File |
| 120 | +~~~~~~~~~~~~~~~~~~ |
| 121 | + |
| 122 | +To disable telemetry from the |compass-short| configuration file, set |
| 123 | +``trackUsageStatistics`` to ``false``. |
| 124 | + |
| 125 | +EJSON |
| 126 | +````` |
| 127 | + |
| 128 | +.. code-block:: json |
| 129 | + |
| 130 | + { "trackUsageStatistics": false } |
| 131 | + |
| 132 | +YAML |
| 133 | +```` |
| 134 | + |
| 135 | +.. code-block:: yaml |
| 136 | + |
| 137 | + trackUsageStatistics: false |
0 commit comments