@@ -492,14 +492,14 @@ registerGcMetrics =
492
492
, (" rts.gc.gc_wall_ms" , Counter . sToMs . Stats. gcWallSeconds)
493
493
, (" rts.gc.cpu_ms" , Counter . sToMs . Stats. cpuSeconds)
494
494
, (" rts.gc.wall_ms" , Counter . sToMs . Stats. wallSeconds)
495
- , (" rts.gc.max_bytes_used" , Gauge . Stats. maxBytesUsed)
496
- , (" rts.gc.current_bytes_used" , Gauge . Stats. currentBytesUsed)
497
- , (" rts.gc.current_bytes_slop" , Gauge . Stats. currentBytesSlop)
498
- , (" rts.gc.max_bytes_slop" , Gauge . Stats. maxBytesSlop)
499
- , (" rts.gc.peak_megabytes_allocated" , Gauge . Stats. peakMegabytesAllocated)
500
- , (" rts.gc.par_tot_bytes_copied" , Gauge . gcParTotBytesCopied)
501
- , (" rts.gc.par_avg_bytes_copied" , Gauge . gcParTotBytesCopied)
502
- , (" rts.gc.par_max_bytes_copied" , Gauge . Stats. parMaxBytesCopied)
495
+ , (" rts.gc.max_bytes_used" , Gauge . fromIntegral . Stats. maxBytesUsed)
496
+ , (" rts.gc.current_bytes_used" , Gauge . fromIntegral . Stats. currentBytesUsed)
497
+ , (" rts.gc.current_bytes_slop" , Gauge . fromIntegral . Stats. currentBytesSlop)
498
+ , (" rts.gc.max_bytes_slop" , Gauge . fromIntegral . Stats. maxBytesSlop)
499
+ , (" rts.gc.peak_megabytes_allocated" , Gauge . fromIntegral . Stats. peakMegabytesAllocated)
500
+ , (" rts.gc.par_tot_bytes_copied" , Gauge . fromIntegral . gcParTotBytesCopied)
501
+ , (" rts.gc.par_avg_bytes_copied" , Gauge . fromIntegral . gcParTotBytesCopied)
502
+ , (" rts.gc.par_max_bytes_copied" , Gauge . fromIntegral . Stats. parMaxBytesCopied)
503
503
])
504
504
getGcStats
505
505
where
0 commit comments