cardano-node-1.33.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Node.Tracing.Tracers.Consensus

Documentation

severityChainSyncClientEvent ∷ TraceLabelPeer peer (TraceChainSyncClientEvent blk) → SeverityS Source #

namesForChainSyncClientEvent ∷ TraceLabelPeer peer (TraceChainSyncClientEvent blk) → [Text] Source #

docChainSyncClientEvent ∷ Documented (TraceLabelPeer peer (TraceChainSyncClientEvent blk)) Source #

severityChainSyncServerEvent ∷ TraceChainSyncServerEvent blk → SeverityS Source #

namesForChainSyncServerEvent ∷ TraceChainSyncServerEvent blk → [Text] Source #

docChainSyncServerEvent ∷ Documented (TraceChainSyncServerEvent blk) Source #

severityBlockFetchDecision ∷ [TraceLabelPeer peer (FetchDecision [Point header])] → SeverityS Source #

namesForBlockFetchDecision ∷ [TraceLabelPeer peer (FetchDecision [Point header])] → [Text] Source #

docBlockFetchDecision ∷ Documented [TraceLabelPeer remotePeer (FetchDecision [Point (Header blk)])] Source #

severityBlockFetchClient ∷ TraceLabelPeer peer (TraceFetchClientState header) → SeverityS Source #

namesForBlockFetchClient ∷ TraceLabelPeer peer (TraceFetchClientState header) → [Text] Source #

docBlockFetchClient ∷ Documented (TraceLabelPeer remotePeer (TraceFetchClientState (Header blk))) Source #

severityBlockFetchServer ∷ TraceBlockFetchServerEvent blk → SeverityS Source #

namesForBlockFetchServer ∷ TraceBlockFetchServerEvent blk → [Text] Source #

docBlockFetchServer ∷ Documented (TraceBlockFetchServerEvent blk) Source #

severityTxInbound ∷ TraceLabelPeer peer (TraceTxSubmissionInbound (GenTxId blk) (GenTx blk)) → SeverityS Source #

namesForTxInbound ∷ TraceLabelPeer peer (TraceTxSubmissionInbound (GenTxId blk) (GenTx blk)) → [Text] Source #

docTxInbound ∷ Documented (TraceLabelPeer remotePeer (TraceTxSubmissionInbound txid tx)) Source #

severityTxOutbound ∷ TraceLabelPeer peer (TraceTxSubmissionOutbound (GenTxId blk) (GenTx blk)) → SeverityS Source #

namesForTxOutbound ∷ TraceLabelPeer peer (TraceTxSubmissionOutbound (GenTxId blk) (GenTx blk)) → [Text] Source #

docTxOutbound ∷ ∀ remotePeer txid tx. Documented (TraceLabelPeer remotePeer (TraceTxSubmissionOutbound txid tx)) Source #

severityLocalTxSubmissionServer ∷ TraceLocalTxSubmissionServerEvent blk → SeverityS Source #

namesForLocalTxSubmissionServer ∷ TraceLocalTxSubmissionServerEvent blk → [Text] Source #

docLocalTxSubmissionServer ∷ Documented (TraceLocalTxSubmissionServerEvent blk) Source #

severityMempool ∷ TraceEventMempool blk → SeverityS Source #

namesForMempool ∷ TraceEventMempool blk → [Text] Source #

docMempool ∷ ∀ blk. Documented (TraceEventMempool blk) Source #

data TraceStartLeadershipCheckPlus Source #

Instances

Instances details
LogFormatting TraceStartLeadershipCheckPlus 
Instance details

Defined in Cardano.Node.Tracing.Tracers.Consensus

(tx ~ GenTx blk, ConvertRawHash blk, GetHeader blk, HasHeader blk, HasKESInfo blk, LedgerSupportsProtocol blk, LedgerSupportsMempool blk, SerialiseNodeToNodeConstraints blk, HasTxId (GenTx blk), Show (ForgeStateUpdateError blk), Show (CannotForge blk), LogFormatting (InvalidBlockReason blk), LogFormatting (CannotForge blk), LogFormatting (ForgeStateUpdateError blk)) ⇒ LogFormatting (ForgeTracerType blk) 
Instance details

Defined in Cardano.Node.Tracing.Tracers.Consensus

Methods

forMachine ∷ DetailLevel → ForgeTracerType blk → Object

forHumanForgeTracerType blk → Text

asMetricsForgeTracerType blk → [Metric]

type ForgeTracerType blk = Either (TraceLabelCreds (TraceForgeEvent blk)) (TraceLabelCreds TraceStartLeadershipCheckPlus) Source #

forgeTracerTransform ∷ (IsLedger (LedgerState blk), LedgerQueries blk, HasHeader (Header blk)) ⇒ NodeKernelData blk → Trace IO (ForgeTracerType blk) → IO (Trace IO (ForgeTracerType blk)) Source #

severityForgeForgeTracerType blk → SeverityS Source #

docForge ∷ Documented (Either (TraceLabelCreds (TraceForgeEvent blk)) (TraceLabelCreds TraceStartLeadershipCheckPlus)) Source #

namesForBlockchainTime ∷ TraceBlockchainTimeEvent t → [Text] Source #

severityBlockchainTime ∷ TraceBlockchainTimeEvent t → SeverityS Source #

docBlockchainTime ∷ Documented (TraceBlockchainTimeEvent t) Source #

namesForKeepAliveClient ∷ TraceKeepAliveClient peer → [Text] Source #

severityKeepAliveClient ∷ TraceKeepAliveClient peer → SeverityS Source #

docKeepAliveClient ∷ Documented (TraceKeepAliveClient peer) Source #

Orphan instances

LogFormatting MempoolSize Source # 
Instance details

Methods

forMachine ∷ DetailLevel → MempoolSize → Object

forHuman ∷ MempoolSize → Text

asMetrics ∷ MempoolSize → [Metric]

LogFormatting TraceStartLeadershipCheckPlus Source # 
Instance details

(LogFormatting peer, Show peer) ⇒ LogFormatting [TraceLabelPeer peer (FetchDecision [Point header])] Source # 
Instance details

Methods

forMachine ∷ DetailLevel → [TraceLabelPeer peer (FetchDecision [Point header])] → Object

forHuman ∷ [TraceLabelPeer peer (FetchDecision [Point header])] → Text

asMetrics ∷ [TraceLabelPeer peer (FetchDecision [Point header])] → [Metric]

(LogFormatting (LedgerUpdate blk), LogFormatting (LedgerWarning blk)) ⇒ LogFormatting (LedgerEvent blk) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → LedgerEvent blk → Object

forHuman ∷ LedgerEvent blk → Text

asMetrics ∷ LedgerEvent blk → [Metric]

(Show (ApplyTxErr blk), LogFormatting (ApplyTxErr blk), LogFormatting (GenTx blk), ToJSON (GenTxId blk), LedgerSupportsMempool blk) ⇒ LogFormatting (TraceEventMempool blk) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceEventMempool blk → Object

forHuman ∷ TraceEventMempool blk → Text

asMetrics ∷ TraceEventMempool blk → [Metric]

(Show (Header blk), ConvertRawHash blk, LedgerSupportsProtocol blk) ⇒ LogFormatting (TraceChainSyncClientEvent blk) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceChainSyncClientEvent blk → Object

forHuman ∷ TraceChainSyncClientEvent blk → Text

asMetrics ∷ TraceChainSyncClientEvent blk → [Metric]

(tx ~ GenTx blk, ConvertRawHash blk, GetHeader blk, HasHeader blk, HasKESInfo blk, HasTxId (GenTx blk), LedgerSupportsProtocol blk, LedgerSupportsMempool blk, SerialiseNodeToNodeConstraints blk, Show (ForgeStateUpdateError blk), Show (CannotForge blk), Show (TxId (GenTx blk)), LogFormatting (InvalidBlockReason blk), LogFormatting (CannotForge blk), LogFormatting (ForgeStateUpdateError blk)) ⇒ LogFormatting (TraceForgeEvent blk) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceForgeEvent blk → Object

forHuman ∷ TraceForgeEvent blk → Text

asMetrics ∷ TraceForgeEvent blk → [Metric]

LogFormatting (TraceFetchClientState header) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceFetchClientState header → Object

forHuman ∷ TraceFetchClientState header → Text

asMetrics ∷ TraceFetchClientState header → [Metric]

LogFormatting (FetchDecision [Point header]) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → FetchDecision [Point header] → Object

forHuman ∷ FetchDecision [Point header] → Text

asMetrics ∷ FetchDecision [Point header] → [Metric]

LogFormatting a ⇒ LogFormatting (TraceLabelCreds a) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceLabelCreds a → Object

forHuman ∷ TraceLabelCreds a → Text

asMetrics ∷ TraceLabelCreds a → [Metric]

ConvertRawHash blk ⇒ LogFormatting (TraceChainSyncServerEvent blk) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceChainSyncServerEvent blk → Object

forHuman ∷ TraceChainSyncServerEvent blk → Text

asMetrics ∷ TraceChainSyncServerEvent blk → [Metric]

ConvertRawHash blk ⇒ LogFormatting (TraceBlockFetchServerEvent blk) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceBlockFetchServerEvent blk → Object

forHuman ∷ TraceBlockFetchServerEvent blk → Text

asMetrics ∷ TraceBlockFetchServerEvent blk → [Metric]

LogFormatting (TraceLocalTxSubmissionServerEvent blk) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceLocalTxSubmissionServerEvent blk → Object

forHuman ∷ TraceLocalTxSubmissionServerEvent blk → Text

asMetrics ∷ TraceLocalTxSubmissionServerEvent blk → [Metric]

Show t ⇒ LogFormatting (TraceBlockchainTimeEvent t) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceBlockchainTimeEvent t → Object

forHuman ∷ TraceBlockchainTimeEvent t → Text

asMetrics ∷ TraceBlockchainTimeEvent t → [Metric]

Show remotePeer ⇒ LogFormatting (TraceKeepAliveClient remotePeer) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceKeepAliveClient remotePeer → Object

forHuman ∷ TraceKeepAliveClient remotePeer → Text

asMetrics ∷ TraceKeepAliveClient remotePeer → [Metric]

(tx ~ GenTx blk, ConvertRawHash blk, GetHeader blk, HasHeader blk, HasKESInfo blk, LedgerSupportsProtocol blk, LedgerSupportsMempool blk, SerialiseNodeToNodeConstraints blk, HasTxId (GenTx blk), Show (ForgeStateUpdateError blk), Show (CannotForge blk), LogFormatting (InvalidBlockReason blk), LogFormatting (CannotForge blk), LogFormatting (ForgeStateUpdateError blk)) ⇒ LogFormatting (ForgeTracerType blk) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → ForgeTracerType blk → Object

forHumanForgeTracerType blk → Text

asMetricsForgeTracerType blk → [Metric]

(LogFormatting peer, Show peer, LogFormatting a) ⇒ LogFormatting (TraceLabelPeer peer a) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceLabelPeer peer a → Object

forHuman ∷ TraceLabelPeer peer a → Text

asMetrics ∷ TraceLabelPeer peer a → [Metric]

LogFormatting (TraceTxSubmissionInbound txid tx) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceTxSubmissionInbound txid tx → Object

forHuman ∷ TraceTxSubmissionInbound txid tx → Text

asMetrics ∷ TraceTxSubmissionInbound txid tx → [Metric]

(Show txid, Show tx) ⇒ LogFormatting (TraceTxSubmissionOutbound txid tx) Source # 
Instance details

Methods

forMachine ∷ DetailLevel → TraceTxSubmissionOutbound txid tx → Object

forHuman ∷ TraceTxSubmissionOutbound txid tx → Text

asMetrics ∷ TraceTxSubmissionOutbound txid tx → [Metric]