prometheus-metrics-ghc-1.0.1: Metrics exposing GHC runtime information for use with prometheus-client.

Safe HaskellNone
LanguageHaskell2010

Prometheus.Metric.GHC

Description

This module defines a metrics that exposes statistics from the GHC runtime system (GHC.Conc, GHC.Stats).

To use these metrics, the monitored executable should run with the `+RTS -T` command line flags and the following must be added somewhere near the beginning of the main method:

>>> register ghcMetrics

Documentation