Microsoft.Azure.Functions.Worker.ApplicationInsights 1.1.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.

No packages depend on Microsoft.Azure.Functions.Worker.ApplicationInsights.

What's Changed

  • Moving hot-path environment variable checks to a background task (#1996)

Version Downloads Last updated
2.50.0 1 02/02/2026
2.0.0 2 01/30/2026
2.0.0-preview5 1 02/02/2026
2.0.0-preview4 1 02/02/2026
2.0.0-preview3 1 02/02/2026
2.0.0-preview2 1 02/02/2026
2.0.0-preview1 1 02/02/2026
1.4.0 1 02/02/2026
1.3.0 1 02/02/2026
1.2.0 1 02/02/2026
1.1.0 1 02/02/2026
1.1.0-preview1 1 02/02/2026
1.0.0 1 02/02/2026
1.0.0-preview5 1 02/02/2026
1.0.0-preview4 1 02/02/2026
1.0.0-preview3 1 02/02/2026
1.0.0-preview2 1 02/02/2026
1.0.0-preview1 1 02/02/2026