在 App Inisghts Profiler 上哪里可以显示有关内存的信息?

问题描述 投票:0回答:1

我已将探查器设置为在内存超过某个阈值时触发。

我现在得到了点击,但是当我展开最慢的挂钟时间时,它只向我显示CPU中需要很长时间的毫秒。

没有关于哪个资源正在填充内存的信息。在哪里启用并查看有关内存的信息?

也尝试下载 .diagsession 文件,但我只能看到 CPU %:

.net memory-management azure-application-insights profiler
1个回答
0
投票

在 App Inisghts Profiler 上哪里可以显示有关内存的信息?

我们有一个选项

Application Insights
=>
Performance
=>
Profiler

  • 通过设置触发器,如果CPU或内存超过特定阈值(我们在触发器中设置),服务将触发Profiler启动。
  • 这里我将
    Memory Threshold (%)
    设置为
    80

enter image description here

  • 当 CPU 或内存百分比达到某个点时,分析器会自动启动。

  • 如果您想手动了解信息,可以点击

    Profile now

  • 我已经手动运行分析器,您现在可以看到Profile的详细信息以及CPU和内存。

enter image description here

请参阅 MSDoc 12 了解更多详细信息。

甚至MS Doc也说,如果我们设置内存触发器

当内存使用率高于 80% 时启动 Profiler。

没有关于哪个资源正在填充内存的信息。

要了解有关内存使用情况的更多详细信息,请单击

Memory
会话下的
Triggered By

  • 您可以清楚地看到占用更多内存的事件。

enter image description here

另请参阅配置 Application Insights Profiler 了解更多详细信息。

© www.soinside.com 2019 - 2024. All rights reserved.