Skip to content

microsoft/ApplicationInsights-dotnet

Repository files navigation

Application Insights for .NET Apps

Build And Test, BASE Build And Test, WEB Build And Test, NETCORE Build And Test, LOGGING Redfield Validation Sanity Build Nightly

This is the .NET SDK for sending data to Azure Monitor & Application Insights.

Getting Started

Please review our How-to guides to review which packages are appropriate for your project:

Understanding our SDK

We've gathered a list of concepts, code examples, and links to full guides here.

Contributing

We strongly welcome and encourage contributions to this project. Please review our Contributing guide.

Branches

  • main is the default branch for all development and releases.

Releases

NuGet packages

The following packages are published from this repository:

Nightly Build Latest Official Release Latest Official Release (including pre-release)
Base SDKs
- Microsoft.ApplicationInsights Nightly Nuget Nuget
- Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel Nightly Nuget Nuget
Auto Collectors (Generic)
- Microsoft.ApplicationInsights.DependencyCollector Nightly Nuget Nuget
- Microsoft.ApplicationInsights.EventCounterCollector Nightly Nuget Nuget
- Microsoft.ApplicationInsights.PerfCounterCollector Nightly Nuget Nuget
- Microsoft.ApplicationInsights.WindowsServer Nightly Nuget Nuget
Auto Collectors (ASP.NET)
- Microsoft.ApplicationInsights.Web Nightly Nuget Nuget
Auto Collectors (ASP.NET Core)
- Microsoft.ApplicationInsights.AspNetCore Nightly Nuget Nuget
Auto Collectors (WorkerService, Console Application, etc.)
- Microsoft.ApplicationInsights.WorkerService Nightly Nuget Nuget
Logging Adapters
- For ILogger: Microsoft.Extensions.Logging.ApplicationInsights Nightly Nuget Nuget
- For NLog: Microsoft.ApplicationInsights.NLogTarget Nightly Nuget Nuget
- For Log4Net: Microsoft.ApplicationInsights.Log4NetAppender Nightly Nuget Nuget
- For System.Diagnostics: Microsoft.ApplicationInsights.TraceListener Nightly Nuget Nuget
- Microsoft.ApplicationInsights.DiagnosticSourceListener Nightly Nuget Nuget
- Microsoft.ApplicationInsights.EtwCollector Nightly Nuget Nuget
- Microsoft.ApplicationInsights.EventSourceListener Nightly Nuget Nuget

Customers are encouraged to use the latest stable version as that is the version that will get fixes and updates. Beta packages are not recommended for use in production & support is limited. Upon release of the new stable version, the old Beta packages will be unlisted & the old minor version will be marked as deprecated. Application Insights follows the Azure SDK Lifecycle & support policy. (For example: When 2.20.0 is released, 2.20.0-beta1 will be unlisted and 2.19.0 will be deprecated.)

Nightly

Nightly Builds are available on our MyGet feed: https://www.myget.org/F/applicationinsights-dotnet-nightly/api/v3/index.json

These builds come from the main branch. These are not signed and are not intended for production workloads.

Support

A guide on common troubleshooting topics is available here.

For immediate support relating to the Application Insights .NET SDK we encourage you to file an Azure Support Request with Microsoft Azure instead of filing a GitHub Issue in this repository. You can do so by going online to the Azure portal and submitting a support request. Access to subscription management and billing support is included with your Microsoft Azure subscription, and technical support is provided through one of the Azure Support Plans. For step-by-step guidance for the Azure portal, see How to create an Azure support request. Alternatively, you can create and manage your support tickets programmatically using the Azure Support ticket REST API.