Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ForgingStats = ForgingStats {
- fsStats :: !(Map ThreadId ForgeThreadStats)
- fsNodeCannotForgeNum :: !Int
- fsNodeIsLeaderNum :: !Int
- fsBlocksForgedNum :: !Int
- fsSlotsMissedNum :: !Int
- data ForgeThreadStats = ForgeThreadStats {
- ftsNodeCannotForgeNum :: !Int
- ftsNodeIsLeaderNum :: !Int
- ftsBlocksForgedNum :: !Int
- ftsSlotsMissedNum :: !Int
- ftsLastSlot :: !Int
- forgeThreadStats :: Trace IO ForgingStats -> IO (Trace IO (ForgeTracerType blk))
Documentation
data ForgingStats Source #
This structure stores counters of blockchain-related events, per individual thread in fsStats.
ForgingStats | |
|
Instances
LogFormatting ForgingStats Source # | |
Defined in Cardano.Node.Tracing.Tracers.ForgingThreadStats forMachine :: DetailLevel -> ForgingStats -> Object Source # forHuman :: ForgingStats -> Text Source # forHumanOrMachine :: ForgingStats -> Text Source # asMetrics :: ForgingStats -> [Metric] Source # | |
MetaTrace ForgingStats Source # | |
Defined in Cardano.Node.Tracing.Tracers.ForgingThreadStats namespaceFor :: ForgingStats -> Namespace ForgingStats Source # severityFor :: Namespace ForgingStats -> Maybe ForgingStats -> Maybe SeverityS Source # privacyFor :: Namespace ForgingStats -> Maybe ForgingStats -> Maybe Privacy Source # detailsFor :: Namespace ForgingStats -> Maybe ForgingStats -> Maybe DetailLevel Source # documentFor :: Namespace ForgingStats -> Maybe Text Source # metricsDocFor :: Namespace ForgingStats -> [(Text, Text)] Source # |
data ForgeThreadStats Source #
Per-forging-thread statistics.
ForgeThreadStats | |
|
Instances
forgeThreadStats :: Trace IO ForgingStats -> IO (Trace IO (ForgeTracerType blk)) Source #