cardano-node-1.33.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Node.Tracing.Tracers.ForgingThreadStats

Synopsis

Documentation

data ForgingStats Source #

This structure stores counters of blockchain-related events, per individual thread in fsStats.

Instances

Instances details
LogFormatting ForgingStats Source # 
Instance details

Defined in Cardano.Node.Tracing.Tracers.ForgingThreadStats

Methods

forMachine ∷ DetailLevel → ForgingStats → Object

forHumanForgingStatsText

asMetricsForgingStats → [Metric]

data ForgeThreadStats Source #

Per-forging-thread statistics.

Constructors

ForgeThreadStats 

Fields

  • ftsNodeCannotForgeNum ∷ !Int
     
  • ftsNodeIsLeaderNum ∷ !Int
     
  • ftsBlocksForgedNum ∷ !Int
     
  • ftsSlotsMissedNum ∷ !Int

    Potentially missed slots. Note that this is not the same as the number of missed blocks, since this includes all occurrences of not reaching a leadership check decision, whether or not leadership was possible or not.

    Also note that when the aggregate total for this metric is reported in the multi-pool case, it can be much larger than the actual number of slots occurring since node start, for it is a sum total for all threads.

  • ftsLastSlot ∷ !Int
     

Instances

Instances details
LogFormatting ForgeThreadStats Source # 
Instance details

Defined in Cardano.Node.Tracing.Tracers.ForgingThreadStats

Methods

forMachine ∷ DetailLevel → ForgeThreadStats → Object

forHumanForgeThreadStatsText

asMetricsForgeThreadStats → [Metric]

forgeThreadStats ∷ Trace IO (Folding (ForgeTracerType blk) ForgingStats) → IO (Trace IO (ForgeTracerType blk)) Source #