Andrew
Andrew

Reputation: 2949

Azure WebJob Application insights with multiple webjobs on same server

I wanted to get application insights in our webjobs, I have used this nuget package:

https://github.com/Azure/azure-webjobs-sdk/wiki/Application-Insights-Integration

When we run say 2 web jobs on the same azure server (web app) we don't see a separation of the webjobs, so we don't know which web job is taking resources? Is there something else that I can do? or need to know in order to see them separately in the insights?

enter image description here

Many thanks

Andrew

Upvotes: 2

Views: 603

Answers (1)

Bruce Chen
Bruce Chen

Reputation: 18465

Is there something else that I can do? or need to know in order to see them separately in the insights?

AFAIK, you could not separate the resource costing for your 2 web jobs when using the application insights. Based on your requirement, I assumed that you could leverage 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.

Also, you could leverage the Crash Diagnoser extension to monitor the CPU and Memory. For more details you could refer to How to capture and analyze a dump file when intermittent High CPU happens on Azure Web App.

Upvotes: 1

Related Questions