HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleprometheus-metrics-ghc-1.0.1.2Haskell2010

Prometheus.Metric.GHC

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:

Example1 expression
register ghcMetrics
  • 1 type
  • 2 values