Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.68 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.68 KB

Metrics

Hackage License Circle CI

Metrics is a port of the eponymous Java library to help you understand what your code is doing in production.

Metrics provides a set of measurement tools for various scenarios:

  • Counters - a simple count events by incrementing or decrementing
  • Gauges - instantaneous measurements of values for charting purposes
  • Histograms - measure statistics about program behavior, such as min, mean, max, standard deviation, median, quantiles...
  • Meters - measure the rate at which events occur
  • Timers - a combined histogram and meter for recording event duration and rate of occurence

Contributing

PRs are welcome! Issues are located in the GitHub issue tracker.

Areas that could use contributions:

  • Performance improvements for metrics under high contention
  • Any area that's missing parity with the Java library & makes sense for Haskell
  • Examples in the docs
  • More reporters! Would pretty much auto-merge support for:
    • Datadog
    • StatsD
    • Riemann
    • Librato
    • Graphite
    • InfluxDB
    • ... anything else I've forgotten that's reasonably popular
  • WAI middleware
  • http-client integration
  • persistent / postgresql-simple integration
  • Automatic tracking for RTS / GC metrics

License

Copyright (c) 2013-2017 Ian Duncan

Published under MIT License, see LICENSE