Skip to content
A collection of Telemetry Initializers to help you get the most out of Application Insights for ASP.NET Core apps
C#
Branch: master
Clone or download
Latest commit d0dad15 Feb 14, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows Do I even linux? Feb 14, 2020
AspNetMonsters.ApplicationInsights Add tests Feb 14, 2020
.gitignore Initial commit Jan 8, 2020
LICENSE Initial commit Jan 8, 2020
README.md

README.md

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

You can’t perform that action at this time.