文章主题: Galaxy 文档

APM 入门

了解如何开始使用 Monti APM


本指南将帮助您开始使用 Monti APM,以便更好地了解您的应用程序行为并识别改进领域。

安装



在您的 Meteor 项目中运行 meteor add montiapm:agent
部署应用程序后,从应用程序设置页面启用“Galaxy 专业版”。

从 Meteor APM 迁移



您的应用程序不能同时启用 Meteor APM 和 Monti APM 代理。

这意味着您需要从应用程序中删除 mdg:meteor-apm-agent 包。

在您的 Meteor 项目中运行 meteor add montiapm:agent 以安装 Monti APM 代理。
在您的 Meteor 项目中运行 meteor remove mdg:meteor-apm-agent 以删除旧的 Meteor APM 代理。

从现有的 Monti APM 配置迁移



为了使用我们提供的 Monti APM 应用程序,您需要从应用程序中删除任何现有的 Monti APM 配置。

为了确保 Monti APM 可以连接到我们提供的应用程序,您需要

确保您的 Meteor 设置文件中没有 "monti" 设置。
确保您的代码中没有调用 Monti.connect()

监控您的应用程序



按照上述步骤将您的应用程序连接到 Monti APM 后,您的应用程序将向 Monti APM 发送信息。访问 Galaxy 2 以查找 Monti APM 仪表板的链接。

链接可以在您的应用程序概览页面中找到。



了解更多



有关 Monti APM 及其入门方法的更多信息,请访问 Monti APM 文档

更新日期:2024/07/17

这篇文章对您有帮助吗?

Share your feedback

Cancel

谢谢!