Endpoint Instrumentation

  • Default setting for ASP.NET Core 3.x and 5.0 (as of .NET Agent 21.3).
  • Not available for ASP.NET Core 2.x.

With the improved endpoint routing introduced in ASP.NET Core 2.2, all routing for Web API, MVC, and Razor Pages was merged into a new architecture enabling the .NET Agent to perform instrumentation just after the EndpointRoutingMiddleware

The advantage of using Endpoint instrumentation (instead of Resource Invoker instrumentation) is that the Business Transaction is tracked through the execution of all middleware after the EndpointRoutingMiddleware

Endpoint instrumentation balances full pipeline visibility (which may introduce too much noise and overhead) with no visibility (using Resource Invoker instrumentation).