Deprecated

prometheus-effect

Instrument applications with metrics and publish/push to Prometheus

https://github.com/ocharles/prometheus-effect

Latest on Hackage:1.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Ollie Charles
Maintained by [email protected]

Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud. Since its inception in 2012, many companies and organizations have adopted Prometheus, and the project has a very active developer and user community. It is now a standalone open source project and maintained independently of any company. To emphasize this and clarify the project's governance structure, Prometheus joined the Cloud Native Computing Foundation in 2016 as the second hosted project after Kubernetes.

This library provides a Haskell client to Prometheus. It supports:

  • The metric types counter, gauge and histogram.

  • Publishing metrics over HTTP (via WAI middleware).

  • Pushing metrics to the Prometheus push gateway.

  • Labels, along with dynamic labels.

  • Instrumentation, both for internal Prometheus monitoring and GHC statistics.