Configure Telemetry
On this page
Atlas CLI's telemetry collects anonymous, aggregate usage data to
identify improvements with the greatest impact. The
Atlas CLI enables telemetry by default. Telemetry settings for the
Atlas CLI also apply to telemetry for mongosh if you
installed the Atlas CLI and mongosh
together in the same
package.
The following information also applies to local MongoDB deployments. To learn more, see Manage Local and Cloud Deployments from the Atlas CLI.
Learn What the Atlas CLI Tracks
Atlas CLI telemetry tracks non-Personally-Identifiable Information (PII), which includes but is not limited to the following information:
Data | Example Value |
---|---|
Atlas CLI version number |
|
Installation source |
|
Operating System (OS) and OS version |
|
Authentication method. Atlas CLI telemetry does not track the values for the API keys and login credentials. |
|
Details for commands you run. Atlas CLI telemetry tracks arguments only if they use pre-set allowable values, such as cluster region, or interactive command responses such as default project ID. |
|
Performance information, such as the amount of time it takes for the Atlas CLI to execute a command. |
|
Errors you encounter, including the command you run and the parameters you use. |
|
Learn What the Atlas CLI Doesn't Track
Atlas CLI telemetry doesn't track:
Data | Example |
---|---|
PII and values that could potentially contain PII, including all free-text fields such as custom names or database user names. |
|
API key values or Atlas login credentials. |
|
Disable Telemetry for the Atlas CLI
To disable telemetry for the Atlas CLI, run the following command in the terminal:
atlas config set telemetry_enabled false
You can also disable telemetry in the following ways:
Navigate to the configuration file and enter
telemetry_enabled = false
.Set the MONGODB_ATLAS_TELEMETRY_ENABLE environment variable to
false
.
Enable Telemetry for the Atlas CLI
The Atlas CLI enables telemetry by default. If telemetry is currently disabled, you can enable telemetry by running the following command in the terminal:
atlas config set telemetry_enabled true
You can also enable telemetry in the following ways:
Navigate to the configuration file and remove
telemetry_enabled = false
.Set the MONGODB_ATLAS_TELEMETRY_ENABLE environment variable to
true
.