Microsoft.Azure.Functions.Worker.ApplicationInsights 1.4.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.Azure.Functions.Worker.ApplicationInsights --version 1.4.0                
NuGet\Install-Package Microsoft.Azure.Functions.Worker.ApplicationInsights -Version 1.4.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.4.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.4.0                
#r "nuget: Microsoft.Azure.Functions.Worker.ApplicationInsights, 1.4.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.4.0

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

Microsoft.Azure.Functions.Worker.ApplicationInsights

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
services.AddApplicationInsightsTelemetryWorkerService();
services.ConfigureFunctionsApplicationInsights();

Distributed Tracing

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

Logging

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.

Configuration

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 (14)

Showing the top 5 NuGet packages that depend on Microsoft.Azure.Functions.Worker.ApplicationInsights:

Package Downloads
Energinet.DataHub.Core.App.FunctionApp

[Release Notes](https://github.com/Energinet-DataHub/geh-core/blob/master/source/App/documents/release-notes/release-notes.md) [Documentation](https://github.com/Energinet-DataHub/geh-core/blob/master/source/App/documents/documentation.md)

Arcus.WebApi.Logging.AzureFunctions

Provides capabilities for easily integrating logging when building Azure Functions.

Cqrs.Azure.Functions.Isolated

Use Azure Functions with CQRS.NET

Dan.Common

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

Cqrs.Azure.Functions.ServiceBus.Isolated

Use Azure Functions with CQRS.NET

GitHub repositories (14)

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

Repository Stars
Azure-Samples/cognitive-services-speech-sdk
Sample code for the Microsoft Cognitive Services Speech SDK
microsoft/onefuzz
A self-hosted Fuzzing-As-A-Service platform
icsharpcode/CodeConverter
Convert code from C# to VB.NET and vice versa using Roslyn
mspnp/cloud-design-patterns
Sample implementations for cloud design patterns found in the Azure Architecture Center.
Green-Software-Foundation/carbon-aware-sdk
Carbon-Aware SDK
Version Downloads Last updated
2.0.0-preview5 1,726 10/29/2024
2.0.0-preview4 1,596 10/23/2024
2.0.0-preview3 232 10/22/2024
2.0.0-preview2 2,566 10/15/2024
2.0.0-preview1 4,518 9/10/2024
1.4.0 801,225 8/30/2024
1.3.0 409,549 8/6/2024
1.2.0 4,549,888 1/29/2024
1.1.0 1,567,980 11/7/2023
1.1.0-preview1 540 11/1/2023
1.0.0 1,082,687 8/15/2023
1.0.0-preview5 78,441 7/19/2023
1.0.0-preview4 542,002 3/24/2023
1.0.0-preview3 384,241 9/27/2022
1.0.0-preview2 16,512 9/20/2022
1.0.0-preview1 48,295 8/11/2022

## What's Changed

### Microsoft.Azure.Functions.Worker.ApplicationInsights 1.4.0
- Updating `Azure.Identity` to 1.12.0