Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fimad/prometheus-haskell
Haskell client library for exposing prometheus.io metrics.
https://github.com/fimad/prometheus-haskell
Last synced: about 1 month ago
JSON representation
Haskell client library for exposing prometheus.io metrics.
- Host: GitHub
- URL: https://github.com/fimad/prometheus-haskell
- Owner: fimad
- Created: 2015-04-11T23:09:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-07T21:56:22.000Z (5 months ago)
- Last Synced: 2024-07-09T05:58:16.783Z (5 months ago)
- Language: Haskell
- Size: 189 KB
- Stars: 83
- Watchers: 6
- Forks: 49
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
- my-awesome - fimad/prometheus-haskell - 07 star:0.1k fork:0.0k Haskell client library for exposing prometheus.io metrics. (Haskell)
README
# prometheus-haskell [![Build Status](https://travis-ci.org/fimad/prometheus-haskell.svg?branch=master)](https://travis-ci.org/fimad/prometheus-haskell)
This repository contains a collection of libraries that can be used to
instrument a Haskell application with metrics that can be consumed by the
[Prometheus](http://prometheus.io) monitoring system and time series database.API documentation can be found on each libraries respective hackage page:
[prometheus-client](http://hackage.haskell.org/package/prometheus-client),
[prometheus-metrics-ghc](http://hackage.haskell.org/package/prometheus-metrics-ghc),
[wai-middleware-prometheus](http://hackage.haskell.org/package/wai-middleware-prometheus).The purposes of the libraries are outline below, and an example application can
be found under the
[example](https://github.com/fimad/prometheus-haskell/tree/master/example)
folder in the root directory of the git repository.## prometheus-client [![Hackage](https://img.shields.io/hackage/v/prometheus-client.svg)](https://hackage.haskell.org/package/prometheus-client)
This is the base library that defines the core data types and metrics. It has a
few dependencies and is intended to provide the minimum functionality required
to interact with Prometheus.## prometheus-metrics-ghc [![Hackage](https://img.shields.io/hackage/v/prometheus-metrics-ghc.svg)](https://hackage.haskell.org/package/prometheus-metrics-ghc)
This library provides custom metrics that an application can register that
expose information from GHC's runtime system. It is provided as a separate
package to keep the GHC specific dependencies out of the prometheus-client
library.## wai-middleware-prometheus [![Hackage](https://img.shields.io/hackage/v/wai-middleware-prometheus.svg)](https://hackage.haskell.org/package/wai-middleware-prometheus)
This library provides WAI middleware that allows for easy integration of the
Prometheus client library into existing WAI apps. The middleware will by default
automatically instrument a WAI app with common HTTP metrics and respond to GET
requests on the /metrics endpoint.