HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

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