Skip to content

AspNetMonsters/ApplicationInsights

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Build status

ApplicationInsights

A collection of Telemetry Initializers to help you get the most out of Application Insights for .NET Core and ASP.NET Core apps

ASP.NET Core

Note: Currently only supports ASP.NET Core 3.1 or greater

Install the Nuget Package

dotnet add package AspNetMonsters.ApplicationInsights.AspNetCore

Cloud Role Name Telemetry Initializer

In the ConfigureServices method in Startup.cs, call the AddCloudRoleNameInitializer method, passing in the cloud role name for the process.

For example:

  services.AddApplicationInsightsTelemetry();
  services.AddCloudRoleNameInitializer("PaymentService");

.NET Core

Install the Nuget Package

dotnet add package AspNetMonsters.ApplicationInsights

Cloud Role Name Telemetry Initializer

// How to register the telemetry initializer

About

A collection of Telemetry Initializers to help you get the most out of Application Insights for ASP.NET Core apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages