Application Insights to azure webjob .Net Core 2.0
问题 How to add application insights telemetry (Application Insights) to azure webjob ? 回答1: With recently released WebJob SDK 3.0, you can add ApplicationInsights in the ConfigureLogging method public static async Task Main(string[] args) { var builder = new HostBuilder() .ConfigureWebJobs(b => { b.AddAzureStorageCoreServices().AddAzureStorage(); }) .ConfigureAppConfiguration(b => { // Adding command line as a configuration source b.AddCommandLine(args); }) .ConfigureLogging((context, b) => { b