Azure Service Fabric - 分析独立集群应用

Azure Service Fabric - profiling standalone cluster apps

是否有任何 Web 监控系统可以远程分析 asp.net 核心应用程序,部署到独立的本地 SF 集群?我们已经尝试配置 AppInsights Profiler,如 https://docs.microsoft.com/ru-ru/azure/application-insights/app-insights-profiler 所述,但它似乎仅适用于云部署实例。此外,AppInsights 自身还可以用于其他目的,例如 query/fault 监控、sql-查询监控和其他目的,但分析除外。

嗯,确实在云中使用 AI 的事情更容易,因为您需要做的就是将数据从 WAD 发送到 Azure AI,这是通过向 WAD 配置添加 AI 接收器来实现的。但是您仍然可以选择本地环境 -

  1. 使用 EventFlow
  2. 配置 AI

导入 Microsoft.Diagnostics.EventFlow.Output.ApplicationInsightsNuGet 包,使用您的密钥配置 AI 输出,一切顺利。

  1. AI.SDK

ApplicationInsight 的 Service Fabric NuGet 包,其中包含与 AI 集成的特定内容。查看下一篇文章 - ApplicationInsights-ServiceFabric, More telemetry from Application Insights and Explore .NET trace logs in Application Insights.

  1. AI 侦听器和 ETW

这篇文章解释了如何设置将发出的事件直接发送到 AI 的 Application Insights 侦听器 - Distributed Tracing in Service Fabric using Application Insights