This uses CPP inside of registerGcMetrics to use the RTSStats-based API in base-4.10 and later, falling back to the old GCStats-based API on older versions of base. This is necessary to make ekg-core build on GHC 8.4, where the old GCStats-based API has been removed.
This uses CPP inside of
registerGcMetrics
to use theRTSStats
-based API inbase-4.10
and later, falling back to the oldGCStats
-based API on older versions ofbase
. This is necessary to makeekg-core
build on GHC 8.4, where the oldGCStats
-based API has been removed.Fixes https://github.com/tibbe/ekg-core/issues/19.