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

Telemetry in Ops Manager 8.0.27 and Earlier

遥测功能会收集有关 Ops Manager 安装的匿名使用信息,并每周将其发送到 MongoDB。Ops Manager 默认启用遥测功能的收集和发送。

This page applies to Ops Manager 8.0.27 and earlier. Starting in Ops Manager 9.0.2 and 8.0.28, product usage telemetry replaces the weekly anonymous report. Product usage telemetry collects configuration and health metadata daily instead, ties the data to your Enterprise Advanced account, and requires an active telemetry exemption to turn off. To learn how it works, see Product Usage Telemetry.

注意

Telemetry has a separate setting from product usage telemetry. If you turn off telemetry in Ops Manager 8.0.27 or earlier, the setting doesn't carry over. Product usage telemetry applies after you upgrade to 9.0.2 or 8.0.28.

遥测是Ops Manager每周生成一次并发送给MongoDB的自动化匿名使用情况报告。

遥测描述:

  • 如何配置和运行Ops Manager安装。

  • Ops Manager管理的MongoDB部署。

遥测数据不包含运维经理可以用来唯一识别您或您的组织的数据。

MongoDB使用遥测数据来了解客户数如何配置和使用Ops Manager及其托管的MongoDB部署。此信息可帮助MongoDB:

  • 确定最常见的部署模式。

  • 了解托管部署的规模和拓扑结构。

  • 查看哪些备份机制和基础架构最常见。

MongoDB利用这些见解来确定产品改进的优先顺序,从而使大多数客户数受益。

遥测数据描述了Ops Manager安装以及Ops Manager托管的每个MongoDB部署。

遥测包括有关Ops Manager安装的信息,例如:

  • Ops Manager安装的静态唯一标识符。

  • Ops Manager版本。

  • 在Ops Manager托管上运行的操作系统。

  • 此安装中的Ops Manager实例数。

  • AppDB 节点的数量。

  • 运行的备份守护程序的数量。

  • Ops Manager使用的身份验证方法。

  • 托管Ops Manager的基础架构类型。

  • 为每个 Ops Manager 托管预配的 CPU 内核和内存。

  • 此安装中存在的项目和组织的数量。

遥测还包括Ops Manager托管的每个MongoDB部署的相关信息,例如:

  • 部署的静态唯一标识符。

  • 部署使用的MongoDB版本。

  • 部署类型。

  • 节点数量,对于分片的集群,还有分片数量。

  • 部署的总数据大小,不包括本地元数据。

  • 部署使用的MongoDB版本。

  • 是否启用TLS。

  • 部署使用的身份验证方法。

有关完整的字段列表和类型,请参阅检索遥测数据中的遥测响应模式。

如果启用了遥测,Ops Manager会安排一个重复性作业,每7天收集和发送一次遥测数据。

If you install or upgrade to Ops Manager 8.0.17 or later in the 8.0 series, Ops Manager enables telemetry by default. The same applies to 7.0.20 or later in the 7.0 series. Ops Manager waits seven days before it sends the first telemetry snapshot. This grace period gives you time to review and, if needed, disable telemetry before any data is sent.

Ops Manager使用持久标识符在重启和升级过程中进行遥测。如果重新安装Ops Manager,它会生成新的标识符。

您可以查看 Ops Manager 计划发送的遥测数据,然后再由 Ops Manager 发送。

Ops Manager在其诊断输出中包含遥测数据。诊断输出包含有关Ops Manager安装的内部诊断信息,包括遥测有效负载。

要查看遥测数据:

1

From the Ops Manager UI, click Admin, General, Ops Manager Config.

2

在 Permissions标签页的Details 部分中,单击 Current Collected Data 下一个的 Download。

3

提取诊断输出并在存档中找到遥测数据。

仅诊断数据的子集作为遥测数据发送。查看存档中的遥测子集,了解Ops Manager计划在下一个遥测快照中发送的数据值。

您还可以使用遥测API来查看Ops Manager计划发送的遥测状态和有效负载。

检索遥测数据终结点返回:

  • 指示是否启用遥测的标志。

  • Ops Manager上次成功发送遥测数据的日期和时间。

  • Ops Manager安排下一个遥测作业的日期和时间。

  • 下一个快照的遥测数据对象。

您可以随时为Ops Manager安装启用或禁用遥测集合。

重要

遥测功能要么在整个安装过程中启用,要么完全禁用。您无法单独启用或禁用单个遥测字段。

管理员可以从Ops Manager用户界面配置遥测。

1

From the Ops Manager UI, click Admin, General, Ops Manager Config.

2

单击 Permissions标签页以查看 Usage Information Collection 设置。

3

使用 Usage Information Collection 控件启用或禁用遥测。

如果禁用遥测,Ops Manager从下一个计划运行开始停止发送遥测快照。

您还可以使用遥测API来控制遥测集合。

您可以使用“切换遥测状态”端点执行以下操作:

  • 通过将 enabled字段设置为 true 来启用遥测。

  • 通过将 enabled字段设置为 false 来禁用遥测。

遥测要求Ops Manager托管可以访问MongoDB遥测摄取终结点。

注意

即使启用了遥测,在气隙环境中或限制性防火墙后面运行的Ops Manager安装可能无法发送遥测数据。

MongoDB将摄取的遥测数据存储在内部系统中,并以聚合形式使用它来改进Ops Manager和相关产品。