Skip to content

Commit

Permalink
Merge #2592
Browse files Browse the repository at this point in the history
2592: CAD-2860: iohk monitoring for rHeap + a new metric r=deepfire a=deepfire

This extends the per-second resource report with the GC heap metric, the `gcdetails_mem_in_use_bytes` from https://hackage.haskell.org/package/base/docs/GHC-Stats.html#t:RtsTime

Co-authored-by: Kosyrev Serge <serge.kosyrev@iohk.io>
  • Loading branch information
iohk-bors[bot] and deepfire committed Apr 8, 2021
2 parents 3c556c5 + a4846b4 commit 362d634
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cabal.project
Expand Up @@ -153,8 +153,8 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/input-output-hk/iohk-monitoring-framework
tag: f6ab0631275d04dff1b990283bbf9671093e7505
--sha256: 0hknkpjmfgdlcag9p0z0xspxm7nxl696ajbnafi1b0vzxnkiyhdx
tag: bf3b4336dfd202fe0b5e765cdaa97788674e456c
--sha256: 1ilq7yq8a3mpy21fiqharx7vs2b555n78gf7m48kkd0pl58vq759
subdir:
contra-tracer
iohk-monitoring
Expand Down
1 change: 1 addition & 0 deletions cardano-node/src/Cardano/Node/Configuration/Logging.hs
Expand Up @@ -281,6 +281,7 @@ createLoggingLayer ver nodeConfig' p = do
traceCounter "Stat.cputicks" tr . fromIntegral $ rCentiCpu rs
traceCounter "Mem.resident" tr . fromIntegral $ rRSS rs
traceCounter "RTS.gcLiveBytes" tr . fromIntegral $ rLive rs
traceCounter "RTS.gcHeapBytes" tr . fromIntegral $ rHeap rs
traceCounter "RTS.gcMajorNum" tr . fromIntegral $ rGcsMajor rs
traceCounter "RTS.gcMinorNum" tr . fromIntegral $ rGcsMinor rs
traceCounter "RTS.gcticks" tr . fromIntegral $ rCentiGC rs
Expand Down

0 comments on commit 362d634

Please sign in to comment.