【问题标题】:Enabling App Insights profiler in Azure functions在 Azure 函数中启用 App Insights Profiler
【发布时间】:2018-03-23 11:53:41
【问题描述】:

是否可以在 azure 函数上使用应用程序洞察分析器?通过门户网站或更手动的方式。

我没有在门户中找到方法,也没有看到明确说明任何一种方法的文档,也没有看到 github 票证。

我认为可能不会,因为似乎还不支持应用程序洞察的许多自动功能。

如果不可能,出于兴趣,是不是因为 azure 函数沙盒没有提供足够的权限进行分析?

【问题讨论】:

    标签: azure profiling azure-functions azure-application-insights


    【解决方案1】:

    如果不可能,出于兴趣,是不是因为 azure 函数沙盒没有提供足够的权限进行分析?

    application insights profiler 仅在 Web 应用程序中受支持。 Azure 函数属于函数应用。所以你不能在 Azure 函数中使用分析器。

    Profiler 目前适用于在 Web 应用上运行的 ASP.NET 和 ASP.NET Core Web 应用。

    如果您想建议微软在app insights in azure function 中添加一些新功能,例如应用洞察分析器,您可以在Github 中提出您的建议。

    后续步骤

    Application Insights 现在已经GA了,可以用于生产工作负载了。我们也在倾听您的任何反馈。请在我们的 GitHub 上归档。我们将很快添加一些新功能,例如更好的采样控制和自动依赖跟踪。

    【讨论】:

    • 嗨,我相信应用洞察集成现在是 GA:“Monitoring with Azure Application Insights GA”azure.microsoft.com/en-us/blog/…
    • 请查看更新。如果有帮助,您可以将其标记为答案,让其他社区成员找到。谢谢。
    • 文档说:Profiler 在每台虚拟机上每小时随机运行两分钟,该虚拟机承载启用了 Profiler 以捕获跟踪的应用程序。消费计划?
    猜你喜欢
    • 2022-08-02
    • 1970-01-01
    • 2019-01-27
    • 1970-01-01
    • 2018-03-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多