Skip to content

Commit

Permalink
cardano-node: rename P2P metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
jutaro committed Sep 27, 2024
1 parent 3a2ed79 commit 3386501
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cardano-node/src/Cardano/Node/Tracing/Tracers/P2P.hs
Original file line number Diff line number Diff line change
Expand Up @@ -921,29 +921,29 @@ instance LogFormatting PeerSelectionCounters where
PeerSelectionCountersHWC {..} ->
-- Deprecated metrics; they will be removed in a future version.
[ IntM
"peerSelection.cold"
"peerSelection.Cold"
(fromIntegral numberOfColdPeers)
, IntM
"peerSelection.warm"
"peerSelection.Warm"
(fromIntegral numberOfWarmPeers)
, IntM
"peerSelection.hot"
"peerSelection.Hot"
(fromIntegral numberOfHotPeers)
, IntM
"peerSelection.coldBigLedgerPeers"
"peerSelection.ColdBigLedgerPeers"
(fromIntegral numberOfColdBigLedgerPeers)
, IntM
"peerSelection.warmBigLedgerPeers"
"peerSelection.WarmBigLedgerPeers"
(fromIntegral numberOfWarmBigLedgerPeers)
, IntM
"peerSelection.hotBigLedgerPeers"
"peerSelection.HotBigLedgerPeers"
(fromIntegral numberOfHotBigLedgerPeers)

, IntM
"peerSelection.warmLocalRoots"
"peerSelection.WarmLocalRoots"
(fromIntegral $ numberOfActiveLocalRootPeers psc)
, IntM
"peerSelection.hotLocalRoots"
"peerSelection.HotLocalRoots"
(fromIntegral $ numberOfEstablishedLocalRootPeers psc
- numberOfActiveLocalRootPeers psc)
]
Expand Down

0 comments on commit 3386501

Please sign in to comment.