设置监控以集成到 Azure 的外部系统

setting up monitoring for integration to external systems from Azure

我创建了一个 Azure Web 应用程序,其中包含一个通过调用 Soap 服务从外部系统获取文件的方法。我如何设置对此特定方法的监控?

我们可以使用应用程序洞察来监控我们的网络应用程序。我们可以使用 Azure 门户或 Visual Studio 工具来完成此操作,更多详细信息请参阅 document。以下是文档的片段。

Azure Application Insights monitors your live application to help you detect and diagnose performance issues and exceptions. It also helps you discover how your app is used. It works for the Web Apps feature of Azure App Service, as well as apps that are hosted on your own on-premises IIS servers, or on cloud VMs.

我们可以使用我们的 Azure 门户轻松做到这一点,详细步骤如下:

第 1 步:在 Azure 门户中导航到您的 Web 应用。

步骤 2:SelectApplication Insights 在服务的 Monitoring 边栏选项卡中。

第 3 步:Select创建新资源并输入名称。

第 4 步:Select确定

我在 Azure 上用 Asp.net MVC 项目进行测试。以下是我的详细步骤。

第 1 步:添加 Application Insights SDK

第 2 步:使用 F5

更新方法和 运行 我的应用程序

第三步:执行方法

第 4 步:从门户查看操作详细信息。