App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
App Metrics is an open-source, cross-platform .NET library that records and reports application metrics, supporting both .NET Core and the full .NET Framework. The library abstracts away the underlying metrics repository by sampling and aggregating metrics in memory before flushing them to systems like InfluxDB, Graphite, or Prometheus at specified intervals. It provides multiple metric types including Gauges, Counters, Meters, Histograms, Timers, and Application Performance Indexes, with support for reservoir sampling implementations. The project is maintained by Allan Hardy and integrates with visualization tools like Grafana for monitoring and dashboarding.