Microsoft.Azure.Functions.Worker.ApplicationInsights
2.0.0
Prefix Reserved
dotnet add package Microsoft.Azure.Functions.Worker.ApplicationInsights --version 2.0.0
NuGet\Install-Package Microsoft.Azure.Functions.Worker.ApplicationInsights -Version 2.0.0
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="2.0.0" />
paket add Microsoft.Azure.Functions.Worker.ApplicationInsights --version 2.0.0
#r "nuget: Microsoft.Azure.Functions.Worker.ApplicationInsights, 2.0.0"
// Install Microsoft.Azure.Functions.Worker.ApplicationInsights as a Cake Addin #addin nuget:?package=Microsoft.Azure.Functions.Worker.ApplicationInsights&version=2.0.0 // Install Microsoft.Azure.Functions.Worker.ApplicationInsights as a Cake Tool #tool nuget:?package=Microsoft.Azure.Functions.Worker.ApplicationInsights&version=2.0.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
- Add packages
dotnet add package Microsoft.ApplicationInsights.WorkerService
dotnet add package Microsoft.Azure.Functions.Worker.ApplicationInsights
- Configure ApplicationInsights
services.AddApplicationInsightsTelemetryWorkerService();
services.ConfigureFunctionsApplicationInsights();
Distributed Tracing
This package adds an ITelemetryModule
which listens to the Azure Functions worker ActivitySource
, converting emitted Activity
s 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 | Versions 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. |
-
.NETStandard 2.0
- Azure.Identity (>= 1.12.0)
- Microsoft.ApplicationInsights.PerfCounterCollector (>= 2.22.0)
- Microsoft.Azure.Functions.Worker.Core (>= 2.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
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 (15)
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 | 39,285 | 11/12/2024 |
2.0.0-preview5 | 6,424 | 10/29/2024 |
2.0.0-preview4 | 2,528 | 10/23/2024 |
2.0.0-preview3 | 301 | 10/22/2024 |
2.0.0-preview2 | 3,585 | 10/15/2024 |
2.0.0-preview1 | 6,296 | 9/10/2024 |
1.4.0 | 1,146,565 | 8/30/2024 |
1.3.0 | 458,583 | 8/6/2024 |
1.2.0 | 4,875,143 | 1/29/2024 |
1.1.0 | 1,640,491 | 11/7/2023 |
1.1.0-preview1 | 546 | 11/1/2023 |
1.0.0 | 1,116,811 | 8/15/2023 |
1.0.0-preview5 | 78,640 | 7/19/2023 |
1.0.0-preview4 | 548,149 | 3/24/2023 |
1.0.0-preview3 | 386,184 | 9/27/2022 |
1.0.0-preview2 | 16,690 | 9/20/2022 |
1.0.0-preview1 | 48,298 | 8/11/2022 |
## What's Changed
### Microsoft.Azure.Functions.Worker.ApplicationInsights 1.4.0
- Updating `Azure.Identity` to 1.12.0