Insight into real-time application metrics is such a great thing to have, once you have it you won’t look back, especially when working with distributed systems which can be very difficult to at a glance understand the health of a system.
It allows us to detect and alert on anomalies when releasing a new version, assists in identifing bottlenecks, provides insight into why our appilcation may be scaling too often during a particular time of the day, allows us to provide trending statistics to our stakeholders, allows us to identifiy how often and at what rate clients are requesting specific endpoints in an API and much much more.
App Metrics makes it easy to get up and running with an open source monitoring solution, providing extensions allowing us to report to various open source time series databases (TSDB) and also provides generic dashbaords allowing us to visualize our application’s metrics in real-time.
Out-of-box App Metrics does not provide a visualization tool, instead it includes Grafana Dashboards for web application monitoring, Grafana does such an amazing job at this already and supports the most popular TSBDs available today.
The following documentation sections assist in getting started with App Metrics in a web application:
Overview App Metrics provides a set of packages designed for ASP.NET Core monitoring. The core packages are as follows: Package Description App.Metrics.AspNetCore.All Metapackage containing a full set of AspNetCore AppMetrics features. 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.