|Package||Dev Release||Pre Release||Latest Release|
What is App Metrics?
App Metrics is an open-source and cross-platform .NET library used to record metrics within an application. App Metrics can run on .NET Core or on the full .NET framework also supporting .NET 4.5.2. App Metrics abstracts away the underlaying repository of your Metrics for example InfluxDB, Graphite, Elasticsearch etc, by sampling and aggregating in memory and providing extensibility points to flush metrics to a repository at a specified interval. For pre .NET Core web applications see AppMetrics.Owin
App Metrics provides various metric types to measure things such as the rate of requests, counting the number of user logins over time, measure the time taken to execute a database query, measure the amount of free memory and so on. Metrics types supported are Gauges, Counters, Meters, Histograms and Timers and Application Performance Indexes Apdex.
For metric reporting capabilities see the reporting repo.
App.Metrics includes an Exponentially Forward Decaying, Sliding Window and Algorithm R reservoir implementations, for additional reservoir sampling see the reservoir repo. For more details on reservoir sampling see the docs.
App Metrics also provides a health checking system allowing you to monitor the health of your application through user defined checks.
See the contribution guidlines for details.
Built using the following open source projects
This library is release under Apache 2.0 License ( see LICENSE ) Copyright (c) 2016 Allan Hardy
Why another .NET port? The main reason for porting Metrics.NET was to have it run on .NET Standard and provide a more modern API into the libraries features.
The original metrics project is released under these terms:
"Metrics.NET is release under Apache 2.0 License Copyright (c) 2014 Iulian Margarintescu"