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

启动 Atlas Charts

The following tutorial guides you through launching Charts on MongoDB Cloud. You can access Charts with any Organization Role or any Project Role that can read data from Atlas.

Atlas Charts is accessible through MongoDB Atlas. You will need a MongoDB Atlas user account to complete this tutorial. To learn more about creating an Atlas user, see Get Started with Atlas documentation.

您还需要 Atlas 集群来使用 Charts 可视化数据。 本页上的步骤将指导您创建 Atlas 集群。

注意

Atlas Charts 应用程序的每个实例都与一个 Atlas项目绑定。 您只能可视化同一项目中 Atlas 集群的数据。

如需读取 Atlas 项目中集群的数据,本教程要求:

  • 您可以访问包含 Atlas 项目的组织的 Atlas 用户界面。

    If your organization's owners enable IP access list for the Atlas UI for an organization, this restricts access to the Atlas UI only to those users whose IP addresses are included in the organization's IP access list. If you don't have access to an organization, Atlas Charts displays a banner at the top of the page notifying you of the restriction. Contact your organization's owners so that they can include your IP address in the access list for the Atlas UI for this organization. This restriction doesn't apply to embedded charts applications and to the public dashboard.

  • Your Atlas user has any Project Role except the Project Read Only role.

    注册 Atlas 帐户时,Atlas 会授予您初始项目中的Project Owner角色。 要了解更多信息,请参阅 Atlas 文档中的Atlas Access 。

1

To access the Atlas Charts application, you must be logged into Atlas.

2

If you have an Atlas project with clusters that contain data you want to visualize, select the project from the Projects menu in the navigation bar.

If you do not have a suitable existing Atlas project, see Create a Project in the Atlas documentation for instructions on creating a new project.

3

All Atlas project users with Project Roles other than Project Read Only have access to the Charts instance associated with that project. To add additional members to your Atlas project, see Manage Project Users and Teams in the Atlas documentation.

4

Atlas Charts 应用程序可以轻松地将集群中的collection连接为数据源。数据源引用特定的集合和图表视图,您可以在图表生成器中访问这些集合和图表视图,以可视化这些集合或图表视图中的数据。

注意

You can skip this step if you already have an Atlas cluster in the current project.

创建 Atlas 集群:

  1. 在侧边栏中,单击 Database 标题下的 Clusters。

    会显示集群页面。

  2. 单击 Build a New Cluster(连接)。

  3. 在Create New Cluster页面中,选择您的首选云提供商和地区、集群层以及其他设置。构建集群时,Atlas 会在页面底部显示相关的集群成本。

    注意

    Atlas provides a free M0 cluster replica set as well as paid M10+ clusters. Free cluster deployments have restrictions as compared to paid M10+ deployments, but will work for the purposes of this setup and all Charts tutorials offered in this documentation. For complete documentation on these restrictions, see Atlas M0 (Free Cluster), M2, and M5 Limitations.

  4. 默认集群名称是Cluster0 。 如果要更改集群名称,请立即执行此操作,因为集群名称一旦配置便无法更改。

  5. 单击Create Cluster按钮以部署集群。

    您的新集群会自动连接到 Charts。

注意

有关创建 Atlas 集群的完整说明,以及所有可用配置选项的详细信息,请参阅 Atlas 文档中的“创建集群”。

5

如果尚未显示Atlas Charts,请单击Atlas 用户界面侧边栏中 Services 标题下的 Visualization。

Atlas 发布关联到项目的 Charts 实例。

6

注意

When you first launch Atlas Charts in a project, Charts automatically creates a new user named Charts User with the Project Charts Admin role in your Atlas project to access your cluster data. The names of these users are in the format: charts+<PROJECT-ID>@mongodb.com. If you see a different chart user that appears suspicious and has a different format, contact MongoDB Support.

如果您以前使用过 Charts,您将看到现有的仪表盘,或者系统会提示您添加新的仪表盘。

要导航回 Atlas Clusters视图,请单击 Atlas Charts 应用程序顶部的Data Services 。

现在您已经有了数据源,可以开始可视化数据了。 接下来的步骤是创建仪表盘并构建Atlas Charts以填充仪表盘。

有关 Atlas Charts 及其功能的完整演练,包括用于可视化的可下载数据集,请参阅以下教程。

重要

删除 Atlas Charts 实例会删除与该实例关联的所有数据,包括仪表盘、数据源和元数据。 Atlas Charts 实例一旦删除,这些数据就无法恢复。

If you are an Atlas Project Owner, you can deactivate and delete a Atlas Charts instance linked to your Atlas project from your Atlas Project Settings.

如果删除链接的 Atlas Charts 实例,您可以随时为项目创建新的 Atlas Charts 实例。 新创建的实例不会保留以前删除的实例中的任何数据。