Skip to content

Commit

Permalink
Merge #3858
Browse files Browse the repository at this point in the history
3858: cardano-node: register GC metrics. r=denisshevchenko a=denisshevchenko

Add predefined RTS GC metrics in `EKG.Store`.

Co-authored-by: Denis Shevchenko <denis.shevchenko@iohk.io>
  • Loading branch information
iohk-bors[bot] and Denis Shevchenko authored May 12, 2022
2 parents 0e24204 + b6a91ab commit 25a0803
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cardano-node/src/Cardano/Node/Tracing/API.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ initTraceDispatcher nc p networkMagic nodeKernel p2pMode = do
where
mkTracers trConfig = do
ekgStore <- EKG.newStore
EKG.registerGcMetrics ekgStore
ekgTrace <- ekgTracer (Left ekgStore)

stdoutTrace <- standardTracer
Expand Down

0 comments on commit 25a0803

Please sign in to comment.