Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.87 KB

File metadata and controls

52 lines (33 loc) · 1.87 KB
title description ms.date ms.topic ms.service
Azure Application Insights libraries for .NET
Reference for Azure Application Insights libraries for .NET
10/19/2017
reference
application-insights

Azure Application Insights libraries for .NET

Overview

Application Insights is an extensible monitoring & diagnostics service for web developers with powerful ad-hoc analytics capabilities. You can use the classes in the ApplicationInsights namespace to configure telemetry collection and send any custom telemetry from your applications that you want to monitor.

Client library

The Application Insights client SDK for .NET allows you to log event, aggregated data, exceptions, dependency, and metrics to Azure for future analysis.

Install the NuGet package directly from the Visual Studio Package Manager console or with the .NET Core CLI.

Visual Studio Package Manager

Install-Package Microsoft.ApplicationInsights 
dotnet add package Microsoft.ApplicationInsights 

Example

This example tracks a custom event to Application Insights.

TelemetryClient client = new TelemetryClient();
client.TrackEvent("MyCustomEvent");

[!div class="nextstepaction"] Explore the client APIs

Samples

View the complete list of Azure Application Insights samples.