-
Notifications
You must be signed in to change notification settings - Fork 81
DOCSP-19979-compass-telemetry-options #697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jeff-allen-mongo
merged 12 commits into
mongodb:master
from
jeff-allen-mongo:DOCSP-19979
Nov 22, 2024
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
d2a3ecf
WIP
jeff-allen-mongo 53fdcd5
DOCSP-19979-compass-telemetry-options
jeff-allen-mongo 9295ae8
edits
jeff-allen-mongo 8135a8b
undo protect connection string changes
jeff-allen-mongo d12efd1
edits
jeff-allen-mongo 1082a5c
reformat steps
jeff-allen-mongo 4de966f
spacing
jeff-allen-mongo dc86e3c
edit
jeff-allen-mongo 50789f4
wording
jeff-allen-mongo 9357a6b
review feedback
jeff-allen-mongo 50f9a55
Merge remote-tracking branch 'refs/remotes/upstream/master' into DOCS…
jeff-allen-mongo 4970a46
review feedback
jeff-allen-mongo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,134 @@ | ||
| .. _compass-telemetry: | ||
|
|
||
| =========================== | ||
| Configure Telemetry Options | ||
| =========================== | ||
|
|
||
| .. facet:: | ||
| :name: genre | ||
| :values: tutorial | ||
|
|
||
| .. contents:: On this page | ||
| :local: | ||
| :backlinks: none | ||
| :depth: 1 | ||
| :class: singlecol | ||
|
|
||
| |compass-short| collects anonymous aggregated usage data to improve | ||
| MongoDB products. |compass-short| collects this information by default, | ||
| but you can disable this data collection. | ||
|
|
||
| About this Task | ||
| --------------- | ||
|
|
||
| |compass-short| telemetry tracks the following data: | ||
|
|
||
| - The type of MongoDB deployment that you connect |compass-short| to. | ||
| For example, Enterprise Edition, Community Edition, or Atlas Data | ||
| Lake. | ||
|
|
||
| - Actions that you perform in |compass-short|, such as creating | ||
| collections and indexes. Telemetry only tracks the general action | ||
| performed, and does not track field values or namespaces. | ||
|
|
||
| - Errors. | ||
|
|
||
| |compass-short| *does not* track: | ||
|
|
||
| - IP addresses, hostnames, usernames, or credentials | ||
|
|
||
| - Queries run in |compass-short| | ||
|
||
|
|
||
| - Data stored in your MongoDB deployment | ||
|
|
||
| - Personal identifiable information | ||
|
|
||
| For more information, see `MongoDB's Privacy Policy | ||
| <https://www.mongodb.com/legal/privacy-policy?tck=docs_mongosh>`__. | ||
|
|
||
| .. tip:: | ||
|
|
||
| |compass-short| Isolated Edition automatically disables telemetry. | ||
| For more information on different |compass-short| editions, see | ||
| :ref:`compass-feature-table`. | ||
|
|
||
| Steps | ||
| ----- | ||
|
|
||
| You can toggle telemetry in either: | ||
|
|
||
| - The |compass-short| :ref:`Settings window | ||
| <compass-settings-reference>` | ||
|
|
||
| - :ref:`Command line options <cli-options>` | ||
|
|
||
| - :ref:`Configuration file options <config-file>` | ||
|
|
||
| Settings Window | ||
| ~~~~~~~~~~~~~~~ | ||
|
|
||
| To toggle telemetry from the |compass-short| settings: | ||
|
|
||
| .. procedure:: | ||
| :style: normal | ||
|
|
||
| .. step:: Open the Settings window. | ||
|
|
||
| a. In the |compass-short| top menu bar, click :guilabel:`MongoDB Compass` | ||
|
|
||
| b. Click :guilabel:`Settings` | ||
|
|
||
| .. figure:: /images/compass/settings-panel-location.png | ||
| :scale: 40% | ||
| :alt: Settings window location under the MongoDB Compass system menu | ||
|
|
||
| .. tip:: | ||
|
|
||
| Alternatively, you can use keyboard shortcuts to open the | ||
| :guilabel:`Settings` window: | ||
|
|
||
| - Windows / Linux: ``Ctrl`` + ``,`` | ||
|
|
||
| - Mac: ``⌘`` + ``,`` | ||
|
|
||
| .. step:: In the left pane of the :guilabel:`Settings` window, click :guilabel:`Privacy`. | ||
|
|
||
| .. step:: Toggle :guilabel:`Enable Usage Statistics`. | ||
|
|
||
| .. step:: Click :guilabel:`Save`. | ||
|
|
||
| Command Line | ||
| ~~~~~~~~~~~~ | ||
|
|
||
| To disable telemetry from the command line, start |compass-short| with | ||
| the ``--no-trackUsageStatistics`` option. | ||
|
|
||
| .. code-block:: sh | ||
|
|
||
| <path-to-Compass-executable> --no-trackUsageStatistics | ||
|
|
||
| .. note:: | ||
|
|
||
| The name and filepath of the |compass-short| executable depend on your | ||
| operating system. For more information, see | ||
| :ref:`compass-executable-location`. | ||
|
|
||
| Configuration File | ||
| ~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| To disable telemetry from the |compass-short| configuration file, set | ||
| ``trackUsageStatistics`` to ``false``. | ||
|
|
||
| EJSON | ||
| ````` | ||
|
|
||
| .. code-block:: json | ||
|
|
||
| { "trackUsageStatistics": false } | ||
|
|
||
| YAML | ||
| ```` | ||
|
|
||
| .. code-block:: yaml | ||
|
|
||
| trackUsageStatistics: false | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We actually do track the hostname on connection in Compass. We use this information to identify an associated Atlas org when processing our telemetry data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense! Updating.