Azure WebJob 应用程序洞察与同一台服务器上的多个 Web 作业
Azure WebJob Application insights with multiple webjobs on same server
我想在我们的 webjobs 中获得应用程序见解,我使用了这个 nuget 包:
https://github.com/Azure/azure-webjobs-sdk/wiki/Application-Insights-Integration
当我们 运行 在同一个 Azure 服务器(Web 应用程序)上说 2 个 Web 作业时,我们看不到 Web 作业的分离,所以我们不知道哪个 Web 作业正在占用资源?
还有什么我可以做的吗?或者需要知道才能在见解中分别查看它们?
非常感谢
安德鲁
Is there something else that I can do? or need to know in order to see them separately in the insights?
AFAIK,在使用应用程序洞察时,您无法将 2 个 Web 作业的资源成本分开计算。根据您的要求,我假设您可以利用 KUDU and get the full memory dump based on the Process ID of your webjobs. For more details, you could follow How to get a full memory dump in Azure App Services。
此外,您可以利用崩溃诊断程序扩展来监控 CPU 和内存。更多详情请参考How to capture and analyze a dump file when intermittent High CPU happens on Azure Web App.
我想在我们的 webjobs 中获得应用程序见解,我使用了这个 nuget 包:
https://github.com/Azure/azure-webjobs-sdk/wiki/Application-Insights-Integration
当我们 运行 在同一个 Azure 服务器(Web 应用程序)上说 2 个 Web 作业时,我们看不到 Web 作业的分离,所以我们不知道哪个 Web 作业正在占用资源? 还有什么我可以做的吗?或者需要知道才能在见解中分别查看它们?
非常感谢
安德鲁
Is there something else that I can do? or need to know in order to see them separately in the insights?
AFAIK,在使用应用程序洞察时,您无法将 2 个 Web 作业的资源成本分开计算。根据您的要求,我假设您可以利用 KUDU and get the full memory dump based on the Process ID of your webjobs. For more details, you could follow How to get a full memory dump in Azure App Services。
此外,您可以利用崩溃诊断程序扩展来监控 CPU 和内存。更多详情请参考How to capture and analyze a dump file when intermittent High CPU happens on Azure Web App.