File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
cardano-tracer/src/Cardano/Tracer Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,14 @@ updateResourcesHistory
29
29
-> IO ()
30
30
updateResourcesHistory nodeId (ResHistory rHistory) lastResources metricName metricValue now =
31
31
case metricName of
32
- " Resources. Stat.Cputicks " -> updateCPUUsage
33
- " Resources. Mem.Resident " -> updateRSSMemory
34
- " Resources. RTS.GcLiveBytes " -> updateGCLiveMemory
35
- " Resources. RTS.GcMajorNum " -> updateGCMajorNum
36
- " Resources. RTS.GcMinorNum " -> updateGCMinorNum
37
- " Resources. RTS.Gcticks " -> updateCPUTimeGC
38
- " Resources. RTS.Mutticks " -> updateCPUTimeApp
39
- " Resources.RTS. Stat.Threads " -> updateThreadsNum
32
+ " Stat.cputicks " -> updateCPUUsage
33
+ " Mem.resident " -> updateRSSMemory
34
+ " RTS.gcLiveBytes " -> updateGCLiveMemory
35
+ " RTS.gcMajorNum " -> updateGCMajorNum
36
+ " RTS.gcMinorNum " -> updateGCMinorNum
37
+ " RTS.gcticks " -> updateCPUTimeGC
38
+ " RTS.mutticks " -> updateCPUTimeApp
39
+ " Stat.threads " -> updateThreadsNum
40
40
_ -> return ()
41
41
where
42
42
updateCPUUsage =
Original file line number Diff line number Diff line change @@ -302,6 +302,7 @@ mkTracerTracer defSeverity = do
302
302
, tcNodeName = Nothing
303
303
, tcPeerFrequency = Nothing
304
304
, tcResourceFrequency = Nothing
305
+ , tcMetricsPrefix = Nothing
305
306
, tcOptions = Map. fromList
306
307
[ ([] , [ConfSeverity defSeverity])
307
308
, ([" Tracer" ], [ConfDetail DMaximum ])
You can’t perform that action at this time.
0 commit comments