应用程序洞察收集级别之间有什么区别

时间:2019-08-07 07:38:38

标签: azure-application-insights

在azure门户上,我可以设置应用程序见解以收集基本或推荐的收集级别。但是,我对这些之间的区别感到困惑?来自Microsoft文档:

.NET Basic collection level offers essential single-instance APM capabilities.

.NET Recommended collection level:
        Adds CPU, memory, and I/O usage trends.
        Correlates micro-services across request/dependency boundaries.
        Collects usage trends, and enables correlation from availability results to transactions.
        Collects exceptions unhandled by the host process.
        Improves APM metrics accuracy under load, when sampling is used.

当我仅启用基本收集级别时,似乎我仍然可以看到应用程序映射中的数据,并且依存关系边界似乎仍然有效(因为appInsight门户似乎即使使用基本收集也显示了数据库调用)。

有人知道基本的收集级别实际上是什么吗?

1 个答案:

答案 0 :(得分:0)

基本级别是完整的Application Insights功能的子集。它仍然会收集请求和依赖关系,但是您将无法关联来自多个服务的跟踪。 (即,如果A和B是具有自己的ikey的2个服务,都在基本级别上,则E2E事务视图将无法显示它们之间的请求/依赖关系流。在“推荐”模式下,它们将显示为相关。)

基本记录与推荐记录之间的确切差异没有记录,并且在每个发行版中都会有所变化。