是否可以以无代码方式将 Azure Application Insights 与现有 Service Fabric 集群集成?

Possible to integrate Azure Application insights with existing service fabric cluster in code-less manner?

想特别使用 Application Insights,"Azure live metrics stream" 现有 PROD Azure 服务结构工作负载上的功能来提高性能analysis.Is服务结构与 Azure Application Insights 内置集成?

是否可以像如何通过 Web Apps/Azure 功能的门户启用应用程序洞察那样以更少代码的方式来实现?如果不是,为什么?

那么,代码化怎么办呢?任何有关代码更改的参考都会有所帮助。

无代码和基于代码的监控有什么区别?什么时候选择一个而不是另一个?我们的需求是研究应用程序(部署在PROD service fabric集群的各个节点上)在不同负载下的性能。

请澄清上面的查询列表。

  1. Service Fabric 是否内置了与 Azure Application Insights 的集成?

您可以利用 Windows Azure 诊断 (WAD) 扩展将 SF 集群日志 and/or 性能指标接收到 App Insights - Configuring Application Insights with WAD

如果不进行少量编码,就无法通过 AppInsights 监控 SF 中的应用程序 运行。

  1. 那么,代码化的方式怎么做呢?任何关于代码更改的参考都会有所帮助。

给你 - Monitor and diagnose an ASP.NET Core application on Service Fabric using Application Insights.

  1. 无代码和基于代码的监控有什么区别?什么时候选择一个而不是另一个?我们的需求是研究应用程序(部署在PROD service fabric集群的各个节点上)在不同负载下的性能。

正如我所说,要监控您的应用程序,您必须编写代码。虽然超级简单。除此之外,这是一个一般性建议 - Event analysis and visualization with Application Insights:

It is recommended to use EventFlow and WAD as aggregation solutions, because they allow for a more modular approach to diagnostics and monitoring, i.e. if you want to change your outputs from EventFlow, it requires no change to your actual instrumentation, just a simple modification to your config file. If, however, you decide to invest in using Application Insights and are not likely to change to a different platform, you should look into using Application Insights' new SDK for aggregating events and sending them to Application Insights. This means that you will no longer have to configure EventFlow to send your data to Application Insights, but instead will install the ApplicationInsight's Service Fabric NuGet package.

这里是顺丰平台link的最佳实践-Monitoring and diagnostics