Skip to content

Commit 579e443

Browse files
committed
tx-submission-v2: fix TraceTxSubmissionInbound tracer
1 parent 156ff8d commit 579e443

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cardano-node/src/Cardano/Node/Tracing/Tracers/Consensus.hs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,8 +1161,6 @@ instance MetaTrace (TraceTxSubmissionInbound txid tx) where
11611161
severityFor (Namespace _ ["TxInboundError"]) _ = Just Error
11621162
severityFor _ _ = Nothing
11631163

1164-
metricsDocFor (Namespace _ ["Collected"]) =
1165-
[ ("submissions.submitted", "")]
11661164
metricsDocFor (Namespace _ ["Processed"]) =
11671165
[ ("submissions.accepted", "")
11681166
, ("submissions.rejected", "")
@@ -1188,6 +1186,9 @@ instance MetaTrace (TraceTxSubmissionInbound txid tx) where
11881186
documentFor (Namespace _ ["TxInboundAddedToMempool"]) = Just $ mconcat
11891187
[ "Transaction ids that made it into the mempool"
11901188
]
1189+
documentFor (Namespace _ ["TxInboundRejectedFromMempool"]) = Just $ mconcat
1190+
[ "Transaction ids that were rejected from mempool"
1191+
]
11911192
documentFor (Namespace _ ["TxInboundDecision"]) = Just $ mconcat
11921193
[ "Current decision made by the decision logic thread"
11931194
, " to guide the TX Submission protocol"
@@ -1204,7 +1205,9 @@ instance MetaTrace (TraceTxSubmissionInbound txid tx) where
12041205
, Namespace [] ["CanRequestMoreTxs"]
12051206
, Namespace [] ["CannotRequestMoreTxs"]
12061207
, Namespace [] ["TxInboundAddedToMempool"]
1208+
, Namespace [] ["TxInboundRejectedFromMempool"]
12071209
, Namespace [] ["TxInboundDecision"]
1210+
, Namespace [] ["TxInboundError"]
12081211
]
12091212

12101213
--------------------------------------------------------------------------------

0 commit comments

Comments
 (0)