Microsoft.Azure.WebJobs.Logging.ApplicationInsights 3.0.41

Prefix Reserved
dotnet add package Microsoft.Azure.WebJobs.Logging.ApplicationInsights --version 3.0.41                
NuGet\Install-Package Microsoft.Azure.WebJobs.Logging.ApplicationInsights -Version 3.0.41                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Azure.WebJobs.Logging.ApplicationInsights" Version="3.0.41" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Azure.WebJobs.Logging.ApplicationInsights --version 3.0.41                
#r "nuget: Microsoft.Azure.WebJobs.Logging.ApplicationInsights, 3.0.41"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Azure.WebJobs.Logging.ApplicationInsights as a Cake Addin
#addin nuget:?package=Microsoft.Azure.WebJobs.Logging.ApplicationInsights&version=3.0.41

// Install Microsoft.Azure.WebJobs.Logging.ApplicationInsights as a Cake Tool
#tool nuget:?package=Microsoft.Azure.WebJobs.Logging.ApplicationInsights&version=3.0.41                

Microsoft.Azure.WebJobs.Logging.ApplicationInsights

This package adds Application Insights based logging capabilities to the WebJobs SDK. For more information, please visit https://go.microsoft.com/fwlink/?linkid=2279708.

Commonly used types

  • ApplicationInsightsLoggingBuilderExtensions
  • ApplicationInsightsLoggerProvider
  • ApplicationInsightsLoggerOptions

Example usage

The below example demonstrates configuration of ApplicationInsights logging on host startup via the AddApplicationInsightsWebJobs builder method.

using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

class Program
{
    public static async Task Main(string[] args)
    {
        var builder = Host.CreateDefaultBuilder(args)
            .ConfigureWebJobs(b =>
            {
                b.AddAzureStorageCoreServices();
                b.AddAzureStorageQueues();
            })
            .ConfigureLogging((context, b) =>
            {
                // If this key exists in any config, use it to enable App Insights
                string appInsightsKey = context.Configuration["APPINSIGHTS_INSTRUMENTATIONKEY"];
                if (!string.IsNullOrEmpty(appInsightsKey))
                {
                    b.AddApplicationInsightsWebJobs(o => o.InstrumentationKey = appInsightsKey);
                }
            });

        using var host = builder.Build();
        await host.RunAsync();
    }
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on Microsoft.Azure.WebJobs.Logging.ApplicationInsights:

Package Downloads
Microsoft.Azure.WebJobs.Extensions.ApplicationInsights

This package contains the extension for Application Insights.

Arcus.WebApi.Logging.AzureFunctions

Provides capabilities for easily integrating logging when building Azure Functions.

AzureFunctions.Better.ApplicationInsights

Improve Application Insights (App Insights) integration for Azure Function v4. Automatically discard cruft telemetry emitted by Functions runtime. Add your own telemetry processors.

RevolutionPlatform.RPLHelpers

Common helper library for Revolution Platform. Includes query generation and vertex parsing for Gremlin.Net.

Microsoft.Azure.WebJobs.Script

This package contains the runtime assemblies for Microsoft.Azure.WebJobs.Script. For more information, please visit http://github.com/Azure/azure-webjobs-sdk-script

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Microsoft.Azure.WebJobs.Logging.ApplicationInsights:

Repository Stars
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
Azure/azure-functions-host
The host/runtime that powers Azure Functions
Azure/azure-functions-durable-extension
Durable Task Framework extension for Azure Functions
Version Downloads Last updated
3.0.41 290,659 7/12/2024
3.0.35 2,022,151 4/4/2023
3.0.34 259,837 2/22/2023
3.0.33 1,597,285 5/9/2022
3.0.30 1,342,585 9/17/2021
3.0.27 1,042,847 3/22/2021
3.0.25 529,259 1/13/2021
3.0.23 454,762 10/2/2020
3.0.18 458,205 8/12/2020
3.0.14 1,514,247 10/16/2019
3.0.13 68,839 9/20/2019
3.0.12 48,221 8/30/2019
3.0.8 343,254 5/3/2019
3.0.6 248,121 3/29/2019
3.0.5 52,016 3/7/2019
3.0.4 186,460 1/25/2019
3.0.3 56,813 12/5/2018
3.0.2 41,772 11/9/2018
3.0.1 36,126 10/17/2018
3.0.0 92,872 9/19/2018
3.0.0-rc1 1,404 9/14/2018
3.0.0-beta8 2,190 8/30/2018
3.0.0-beta5 27,084 3/26/2018
3.0.0-beta4 24,720 11/28/2017
3.0.0-beta3 7,279 9/15/2017
3.0.0-beta2 4,219 8/29/2017
3.0.0-beta1-10941 1,059 7/21/2017
3.0.0-beta1-10871 4,720 7/19/2017
2.3.0 371,038 11/29/2018
2.2.0 436,601 3/28/2018
2.1.0 74,587 2/2/2018
2.1.0-beta4 21,416 9/21/2017
2.1.0-beta1 19,600 5/4/2017