Azure App Insights 延迟和开销

Azure App Insights Latency and Overhead

我有兴趣在我正在从事的 ASP.NET 项目中使用 Azure Application Insights,但我很好奇 运行 对性能的潜在影响 运行 客户端和服务器端遥测。

有关 App Insights 潜在影响的经验法则或指南是什么?

Application Insights .NET SDK 在默认配置中使用自适应采样 (https://docs.microsoft.com/en-us/azure/application-insights/app-insights-sampling)。它保证应用程序实例不会上传超过 5 documents/sec.

正如@Peter Bons 指出的那样,Application Insights SDK 在后台批量上传文档,并尽量不干预应用程序的流程。

在内部,我们 运行 提供 3K 服务 RPS/instance 在默认配置中配备了 AI SKD。

您的情况可能会有所不同 - 开销取决于 Web 服务在做什么。