对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。
Docs 菜单

配置遥测

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.

以下信息也适用于本地 MongoDB 部署。 要了解更多信息,请参阅从 Atlas CLI 托管本地和云部署。

Atlas CLI遥测跟踪包括但不限于以下信息:

数据
示例值

Atlas CLI 版本号

1.0.0

安装源

Homebrew

操作系统 (OS) 和操作系统版本

Windows 11.5

身份验证方法。 Atlas CLI 追踪不追踪API密钥和登录凭证的值。

API key

您运行的命令的详细信息。 Atlas CLI 遥测仅跟踪使用预设允许值(例如集群区域)或交互式命令响应(例如默认项目 ID)的参数。

timestamp: 2022-04-11T11:35:46.794119+01:00 command: atlas cluster create --provider AWS --region US_EAST_1

性能信息,例如 Atlas CLI 执行命令所需的时间。

completion timestamp: 2022-04-11T11:35:49.456719+01:00

您遇到的错误,包括运行的命令和使用的参数。

atlas rgister Error: unknown command "rgister" for "atlas"

Atlas CLI 遥测不跟踪:

数据
例子

自由文本字段,例如自定义名称或数据库用户名。

--clusterName MyCluster

API键值或 Atlas 登录凭证。

private_api_key abcdefghi123456789

要禁用 Atlas CLI 的遥测,请在终端中运行以下命令:

atlas config set telemetry_enabled false

您还可以通过以下方式禁用遥测:

Atlas CLI 默认启用遥测功能。 如果当前已禁用遥测,您可以通过在终端中运行以下命令来启用遥测:

atlas config set telemetry_enabled true

您还可以通过以下方式启用遥测: