【问题标题】:Azure Application Insights ScalabilityAzure Application Insights 可扩展性
【发布时间】:2017-06-13 12:15:32
【问题描述】:

当 azure 受到数千条记录(用于负载测试)的影响时,应用洞察力不会显示所有跟踪和异常。请求肯定会发送,因为 azure 表中有相应的数据。查询是使用 Azure 门户上的“搜索”和“分析”选项卡完成的。这是一个已知的问题?查看所有跟踪、请求和异常的方式/工具是什么?

【问题讨论】:

    标签: azure-application-insights


    【解决方案1】:

    正在对您的遥测数据进行采样。通过摄取采样(发生在 Azure 端)或通过自适应采样(在应用程序端)。

    https://docs.microsoft.com/en-us/azure/application-insights/app-insights-sampling

    我能提出的最佳建议是删除 AdaptiveSamplingTelemetryProcessor 或仅在 ApplicationInsights.config 文件中编辑它的参数以满足您的需要。

    示例 1

    这将摄取速率限制为每秒 1000 个事件,但不会对依赖项或跟踪数据应用任何采样

    <Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel">
          <MaxTelemetryItemsPerSecond>1000</MaxTelemetryItemsPerSecond>
          <ExcludedTypes>Dependency;Trace</ExcludedTypes>
    </Add>
    

    示例 2

    这将仅请求的摄取速率限制为每秒 500 个事件。所有其他类型均未采样。

    <Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel">
          <MaxTelemetryItemsPerSecond>500</MaxTelemetryItemsPerSecond>
          <IncludedTypes>Request</IncludedTypes>
    </Add>
    

    ExcludedTypesGitHub 上的注释

    IncludedTypesGitHub 上的注释

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-11
      • 2021-07-16
      • 2016-12-09
      相关资源
      最近更新 更多