cardano-node-1.28.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Tracing.Metrics

Synopsis

Documentation

data KESMetricsData Source #

KES-related data to be traced as metrics.

Constructors

NoKESMetricsData

The current protocol does not support KES.

TPraosKESMetricsData 

Fields

  • !Period

    The current KES period of the hot key, relative to the start KES period of the operational certificate.

  • !MaxKESEvolutions

    The configured max KES evolutions.

  • !OperationalCertStartKESPeriod

    The start KES period of the configured operational certificate.

newtype MaxKESEvolutions Source #

The maximum number of evolutions that a KES key can undergo before it is considered expired.

Constructors

MaxKESEvolutions Word64 

newtype OperationalCertStartKESPeriod Source #

The start KES period of the configured operational certificate.

Constructors

OperationalCertStartKESPeriod Period 

class HasKESMetricsData blk where Source #

Minimal complete definition

Nothing

Methods

getKESMetricsDataProxy blk → ForgeStateInfo blk → KESMetricsData Source #

Instances

Instances details
HasKESMetricsData ByronBlock Source # 
Instance details

Defined in Cardano.Tracing.Metrics

Methods

getKESMetricsDataProxy ByronBlock → ForgeStateInfo ByronBlock → KESMetricsData Source #

All HasKESMetricsData xs ⇒ HasKESMetricsData (HardForkBlock xs) Source # 
Instance details

Defined in Cardano.Tracing.Metrics

Methods

getKESMetricsDataProxy (HardForkBlock xs) → ForgeStateInfo (HardForkBlock xs) → KESMetricsData Source #

HasKESMetricsData (ShelleyBlock c) Source # 
Instance details

Defined in Cardano.Tracing.Metrics

Methods

getKESMetricsDataProxy (ShelleyBlock c) → ForgeStateInfo (ShelleyBlock c) → KESMetricsData Source #

class HasKESInfo blk where Source #

Minimal complete definition

Nothing

Methods

getKESInfoProxy blk → ForgeStateUpdateError blk → Maybe KESInfo Source #

Instances

Instances details
HasKESInfo ByronBlock Source # 
Instance details

Defined in Cardano.Tracing.Metrics

Methods

getKESInfoProxy ByronBlock → ForgeStateUpdateError ByronBlock → Maybe KESInfo Source #

All HasKESInfo xs ⇒ HasKESInfo (HardForkBlock xs) Source # 
Instance details

Defined in Cardano.Tracing.Metrics

Methods

getKESInfoProxy (HardForkBlock xs) → ForgeStateUpdateError (HardForkBlock xs) → Maybe KESInfo Source #

HasKESInfo (ShelleyBlock era) Source # 
Instance details

Defined in Cardano.Tracing.Metrics

Methods

getKESInfoProxy (ShelleyBlock era) → ForgeStateUpdateError (ShelleyBlock era) → Maybe KESInfo Source #

data ForgingStats Source #

This structure stores counters of blockchain-related events, per individual forge thread. These counters are driven by traces.

Constructors

ForgingStats 

Fields

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 occurences 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 occuring since node start, for it is a sum total for all threads.

  • ftsLastSlot ∷ !Int