bcc-node-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.Tracing.Metrics

Synopsis

Documentation

data KESMetricsData Source #

KES-related data to be traced as metrics.

Constructors

NoKESMetricsData

The current protocol does not support KES.

TOptimumKESMetricsData 

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 ColeBlock Source # 
Instance details

Defined in Bcc.Tracing.Metrics

Methods

getKESMetricsDataProxy ColeBlock → ForgeStateInfo ColeBlock → KESMetricsData Source #

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

Defined in Bcc.Tracing.Metrics

Methods

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

HasKESMetricsData (SophieBlock c) Source # 
Instance details

Defined in Bcc.Tracing.Metrics

Methods

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

class HasKESInfo blk where Source #

Minimal complete definition

Nothing

Methods

getKESInfoProxy blk → ForgeStateUpdateError blk → Maybe KESInfo Source #

Instances

Instances details
HasKESInfo ColeBlock Source # 
Instance details

Defined in Bcc.Tracing.Metrics

Methods

getKESInfoProxy ColeBlock → ForgeStateUpdateError ColeBlock → Maybe KESInfo Source #

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

Defined in Bcc.Tracing.Metrics

Methods

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

HasKESInfo (SophieBlock era) Source # 
Instance details

Defined in Bcc.Tracing.Metrics

Methods

getKESInfoProxy (SophieBlock era) → ForgeStateUpdateError (SophieBlock 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