Microsoft.Azure.Functions.Worker.ApplicationInsights 1.2.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
dotnet add package Microsoft.Azure.Functions.Worker.ApplicationInsights --version 1.2.0
NuGet\Install-Package Microsoft.Azure.Functions.Worker.ApplicationInsights -Version 1.2.0
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.Functions.Worker.ApplicationInsights" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Azure.Functions.Worker.ApplicationInsights --version 1.2.0
#r "nuget: Microsoft.Azure.Functions.Worker.ApplicationInsights, 1.2.0"
#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.Functions.Worker.ApplicationInsights as a Cake Addin
#addin nuget:?package=Microsoft.Azure.Functions.Worker.ApplicationInsights&version=1.2.0

// Install Microsoft.Azure.Functions.Worker.ApplicationInsights as a Cake Tool
#tool nuget:?package=Microsoft.Azure.Functions.Worker.ApplicationInsights&version=1.2.0


This package adds extension methods and services to configure ApplicationInsights for use in Azure Functions .NET isolated applications.

This package does not add Application Insights services directly. This must be done directly. Instead, this package only augments Application Insights with functions scenarios.

Getting Started

  1. Add packages
dotnet add package Microsoft.ApplicationInsights.WorkerService
dotnet add package Microsoft.Azure.Functions.Worker.ApplicationInsights
  1. Configure ApplicationInsights

Distributed Tracing

This package adds an ITelemetryModule which listens to the Azure Functions worker ActivitySource, converting emitted Activitys into DependencyTelemetry.


This package will adjust logging behavior of the worker to no longer emit logs through the host application. Instead, logs are sent directly to application insights from the worker.

In-Proc Comparison / Changes

With this package changing the worker to send telemetry directly to application insights, custom ITelemetryInitializer or ITelemetryProcessor will only apply to worker-originating telemetry. Telemetry which originates from the host process will not be ran through the same telemetry pipeline. This means when comapred to an in-proc functions app, you may see some telemetry items missing customizations performed in initialziers or processors. These telemetry items have originated from the host.


See this document on configuring Application Insights for dotnet applications.

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.Functions.Worker.ApplicationInsights:

Package Downloads
Energinet.DataHub.Core.App.FunctionApp The ID prefix of this package has been reserved for one of the owners of this package by

[Release Notes]( [Documentation](


Provides capabilities for easily integrating logging when building Azure Functions.


Use Azure Functions with CQRS.NET


This package includes the common models and utilities used for communicating between Dan.Core and the various Dan plugins and simplifying plugin development.


Use Azure Functions with CQRS.NET

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Microsoft.Azure.Functions.Worker.ApplicationInsights:

Repository Stars
A self-hosted Fuzzing-As-A-Service platform
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Azure functions templates for the azure portal, CLI, and VS
An application that discovers content on social media for hashtags
Version Downloads Last updated
1.2.0 595,751 1/29/2024
1.1.0 721,426 11/7/2023
1.1.0-preview1 489 11/1/2023
1.0.0 628,333 8/15/2023
1.0.0-preview5 73,850 7/19/2023
1.0.0-preview4 458,228 3/24/2023
1.0.0-preview3 354,434 9/27/2022
1.0.0-preview2 15,167 9/20/2022
1.0.0-preview1 47,421 8/11/2022

## What's Changed

### Microsoft.Azure.Functions.Worker.ApplicationInsights 1.2.0
- Updating `Microsoft.ApplicationInsights.PerfCounterCollector` to 2.22.0