Skip to content
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.

novalabsxyz/metrics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-2015 Ian Duncan

Published under MIT License, see LICENSE

Packages

No packages published

Languages

  • Haskell 100.0%