Skip to content

Commit d522673

Browse files
committed
cardano-tracer: renamed resources
1 parent 91e3a4e commit d522673

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

cardano-tracer/src/Cardano/Tracer/Handlers/RTView/Update/Resources.hs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ updateResourcesHistory
2929
-> IO ()
3030
updateResourcesHistory nodeId (ResHistory rHistory) lastResources metricName metricValue now =
3131
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
4040
_ -> return ()
4141
where
4242
updateCPUUsage =

cardano-tracer/src/Cardano/Tracer/MetaTrace.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ mkTracerTracer defSeverity = do
302302
, tcNodeName = Nothing
303303
, tcPeerFrequency = Nothing
304304
, tcResourceFrequency = Nothing
305+
, tcMetricsPrefix = Nothing
305306
, tcOptions = Map.fromList
306307
[ ([], [ConfSeverity defSeverity])
307308
, (["Tracer"], [ConfDetail DMaximum])

0 commit comments

Comments
 (0)