App Metrics provides a set of packages designed for ASP.NET Core monitoring. The core packages are as follows:

Package Description
App.Metrics.AspNetCore.Tracking A set of middleware components which automatically track typical metrics used in monitoring a web application.
App.Metrics.AspNetCore.Endpoints A set of middleware components for exposing metrics over HTTP as well as information about the application’s running environment.
App.Metrics.AspNetCore.Reporting Provides a away of scheduling configured reporters to periodically flush metrics.
App.Metrics.AspNetCore.Hosting Provides Microsoft.Extensions.Hosting.IWebHostBuilder extensions methods to configure and host App Metrics in ASP.NET core applications.
App.Metrics.AspNetCore.Mvc A sort of meta package which includes App Metrics ASP.NET Core packages as well as ASP.NET Core MVC specifics such as supporting metric tagging using MvcAttributeRouteHandler routes.
App.Metrics.AspNetCore Similar to App.Metrics.AspNetCore.Mvc, a sort of meta package which includes App Metrics ASP.NET Core feature packages as well as additional Microsoft.Extensions.Hosting.IWebHostBuilder extensions methods to simplify hosting App Metrics in ASP.NET core applications.

The following documentation sections provide more details into App Metric’s ASP.NET Core support:

  • Quick Start
  • This quick start guide assumes creating an ASP.NET Core MVC application, however a dependency on MVC is not required. Getting started Create a new ASP.NET Core MVC project. Then install the App.Metrics.AspNetCore.Mvc nuget package: nuget install App.Metrics.AspNetCore.Mvc Bootstrapping Modify the Program.cs to apply the App Metrics ASP.NET Core defaults: using App.Metrics.AspNetCore; public static class Program { public static IWebHost BuildWebHost(string[] args) { return WebHost.CreateDefaultBuilder(args) .UseMetrics() .

  • Web Metrics
  • Endpoints
  • Health
  • Reporting
  • Configuration
  • Grafana