cardano-node-1.30.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Tracing.Tracers

Synopsis

Documentation

data Tracers peer localPeer blk Source #

Constructors

Tracers 

Fields

data TraceOptions Source #

Instances

Instances details
Eq TraceOptions Source # 
Instance details

Defined in Cardano.Tracing.Config

Show TraceOptions Source # 
Instance details

Defined in Cardano.Tracing.Config

mkTracers ∷ ∀ peer localPeer blk. (RunNode blk, HasKESMetricsData blk, HasKESInfo blk, TraceConstraints blk, Show peer, Eq peer, ToObject peer, Show localPeer, ToObject localPeer) ⇒ BlockConfig blk → TraceOptionsTrace IO TextNodeKernelData blk → Maybe EKGDirectIO (Tracers peer localPeer blk) Source #

Tracers for all system components.

nullTracersTracers peer localPeer blk Source #

traceCounterTextTrace IO TextIntIO () Source #

Orphan instances

Show a ⇒ Show (WithSeverity a) Source # 
Instance details

Methods

showsPrecInt → WithSeverity a → ShowS Source #

show ∷ WithSeverity a → String Source #

showList ∷ [WithSeverity a] → ShowS Source #

(StandardHash header, Eq peer) ⇒ ElidingTracer (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]) Source # 
Instance details

Methods

doelide ∷ WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → Bool

isEquivalent ∷ WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → Bool

newstateIO (MVar (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer))

starteliding ∷ (ToObject t, Transformable t IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])) ⇒ TracingVerbosityTrace IO t → WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → IO (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer)

conteliding ∷ (ToObject t, Transformable t IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])) ⇒ TracingVerbosityTrace IO t → WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer) → IO (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer)

stopeliding ∷ (ToObject t, Transformable t IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])) ⇒ TracingVerbosityTrace IO t → WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer) → IO (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer)

reportelided ∷ (ToObject t, Transformable t IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])) ⇒ TracingVerbosityTrace IO t → WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])] → IntegerIO ()

elideToLogObject ∷ (ToObject t, Transformable t IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])) ⇒ TracingVerbosityMVar (Maybe (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])]), Integer) → Trace IO t → Tracer IO (WithSeverity [TraceLabelPeer peer (FetchDecision [Point header])])

ElidingTracer (WithSeverity (TraceEvent blk)) Source # 
Instance details

Methods

doelide ∷ WithSeverity (TraceEvent blk) → Bool

isEquivalent ∷ WithSeverity (TraceEvent blk) → WithSeverity (TraceEvent blk) → Bool

newstateIO (MVar (Maybe (WithSeverity (TraceEvent blk)), Integer))

starteliding ∷ (ToObject t, Transformable t IO (WithSeverity (TraceEvent blk))) ⇒ TracingVerbosityTrace IO t → WithSeverity (TraceEvent blk) → IO (Maybe (WithSeverity (TraceEvent blk)), Integer)

conteliding ∷ (ToObject t, Transformable t IO (WithSeverity (TraceEvent blk))) ⇒ TracingVerbosityTrace IO t → WithSeverity (TraceEvent blk) → (Maybe (WithSeverity (TraceEvent blk)), Integer) → IO (Maybe (WithSeverity (TraceEvent blk)), Integer)

stopeliding ∷ (ToObject t, Transformable t IO (WithSeverity (TraceEvent blk))) ⇒ TracingVerbosityTrace IO t → WithSeverity (TraceEvent blk) → (Maybe (WithSeverity (TraceEvent blk)), Integer) → IO (Maybe (WithSeverity (TraceEvent blk)), Integer)

reportelided ∷ (ToObject t, Transformable t IO (WithSeverity (TraceEvent blk))) ⇒ TracingVerbosityTrace IO t → WithSeverity (TraceEvent blk) → IntegerIO ()

elideToLogObject ∷ (ToObject t, Transformable t IO (WithSeverity (TraceEvent blk))) ⇒ TracingVerbosityMVar (Maybe (WithSeverity (TraceEvent blk)), Integer) → Trace IO t → Tracer IO (WithSeverity (TraceEvent blk))