@@ -481,11 +481,11 @@ registerGcMetrics =
481
481
getRTSStats
482
482
#else
483
483
(M. fromList
484
- [ (" rts.gc.bytes_allocated" , Counter . Stats. bytesAllocated)
485
- , (" rts.gc.num_gcs" , Counter . Stats. numGcs)
486
- , (" rts.gc.num_bytes_usage_samples" , Counter . Stats. numByteUsageSamples)
487
- , (" rts.gc.cumulative_bytes_used" , Counter . Stats. cumulativeBytesUsed)
488
- , (" rts.gc.bytes_copied" , Counter . Stats. bytesCopied)
484
+ [ (" rts.gc.bytes_allocated" , Counter . fromIntegral . Stats. bytesAllocated)
485
+ , (" rts.gc.num_gcs" , Counter . fromIntegral . Stats. numGcs)
486
+ , (" rts.gc.num_bytes_usage_samples" , Counter . fromIntegral . Stats. numByteUsageSamples)
487
+ , (" rts.gc.cumulative_bytes_used" , Counter . fromIntegral . Stats. cumulativeBytesUsed)
488
+ , (" rts.gc.bytes_copied" , Counter . fromIntegral . Stats. bytesCopied)
489
489
, (" rts.gc.mutator_cpu_ms" , Counter . sToMs . Stats. mutatorCpuSeconds)
490
490
, (" rts.gc.mutator_wall_ms" , Counter . sToMs . Stats. mutatorWallSeconds)
491
491
, (" rts.gc.gc_cpu_ms" , Counter . sToMs . Stats. gcCpuSeconds)
0 commit comments