locli-1.34: Cardano log analysis CLI
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Analysis.API.Types

Synopsis

Documentation

data Phase Source #

Instances

Instances details
FromJSON Phase Source # 
Instance details

Defined in Cardano.Analysis.API.Types

ToJSON Phase Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

toJSON :: Phase -> Value #

toEncoding :: Phase -> Encoding #

toJSONList :: [Phase] -> Value #

toEncodingList :: [Phase] -> Encoding #

omitField :: Phase -> Bool #

Generic Phase Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep Phase :: Type -> Type Source #

Methods

from :: Phase -> Rep Phase x Source #

to :: Rep Phase x -> Phase Source #

Show Phase Source # 
Instance details

Defined in Cardano.Analysis.API.Types

NFData Phase Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

rnf :: Phase -> () Source #

Eq Phase Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

(==) :: Phase -> Phase -> Bool Source #

(/=) :: Phase -> Phase -> Bool Source #

Ord Phase Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep Phase Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep Phase = D1 ('MetaData "Phase" "Cardano.Analysis.API.Types" "locli-1.34-inplace" 'False) (((C1 ('MetaCons "Notice" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Request" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Fetch" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Forge" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Acquire" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Announce" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Adopt" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Send" 'PrefixI 'False) (U1 :: Type -> Type))))

data Summary f where Source #

Overall analysis summary of a run.

Constructors

Summary 

Fields

Instances

Instances details
(forall a. FromJSON a => FromJSON (f a)) => FromJSON (Summary f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

(forall a. ToJSON a => ToJSON (f a)) => ToJSON (Summary f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

toJSON :: Summary f -> Value #

toEncoding :: Summary f -> Encoding #

toJSONList :: [Summary f] -> Value #

toEncodingList :: [Summary f] -> Encoding #

omitField :: Summary f -> Bool #

Generic (Summary f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep (Summary f) :: Type -> Type Source #

Methods

from :: Summary f -> Rep (Summary f) x Source #

to :: Rep (Summary f) x -> Summary f Source #

Show (TimelineComments (Summary f)) Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

(forall a. Show a => Show (f a)) => Show (Summary f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

(forall a. NFData a => NFData (f a)) => NFData (Summary f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

rnf :: Summary f -> () Source #

KnownCDF f => TimelineFields (Summary f) Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

Associated Types

data TimelineComments (Summary f) Source #

type Rep (Summary f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep (Summary f) = D1 ('MetaData "Summary" "Cardano.Analysis.API.Types" "locli-1.34-inplace" 'False) (C1 ('MetaCons "Summary" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "sumAnalysisTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "sumMeta") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Metadata)) :*: (S1 ('MetaSel ('Just "sumGenesis") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Genesis) :*: (S1 ('MetaSel ('Just "sumGenesisSpec") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisSpec) :*: S1 ('MetaSel ('Just "sumWorkload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GeneratorProfile)))) :*: ((S1 ('MetaSel ('Just "sumHosts") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (f (Count Host))) :*: S1 ('MetaSel ('Just "sumLogObjectsTotal") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (f (Count LogObject)))) :*: (S1 ('MetaSel ('Just "sumFilters") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ([FilterName], [ChainFilter])) :*: (S1 ('MetaSel ('Just "sumChainRejectionStats") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(ChainFilter, Int)]) :*: S1 ('MetaSel ('Just "sumBlocksRejected") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (f (Count BlockEvents))))))) :*: (((S1 ('MetaSel ('Just "sumDomainTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (DataDomain f RUTCTime)) :*: S1 ('MetaSel ('Just "sumStartSpread") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (DataDomain f RUTCTime))) :*: (S1 ('MetaSel ('Just "sumStopSpread") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (DataDomain f RUTCTime)) :*: (S1 ('MetaSel ('Just "sumDomainSlots") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (DataDomain (CDF I) SlotNo)) :*: S1 ('MetaSel ('Just "sumDomainBlocks") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (DataDomain f BlockNo))))) :*: ((S1 ('MetaSel ('Just "sumProfilingData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (ProfilingData (CDF I)))) :*: (S1 ('MetaSel ('Just "cdfLogLinesEmitted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Int)) :*: S1 ('MetaSel ('Just "cdfLogObjectsEmitted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Int)))) :*: (S1 ('MetaSel ('Just "cdfLogObjects") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Int)) :*: (S1 ('MetaSel ('Just "cdfRuntime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfLogLineRate") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Double))))))))
data TimelineComments (Summary f) Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

data BlockProp f Source #

Results of block propagation analysis.

Instances

Instances details
CDFFields BlockProp p Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

(forall a. FromJSON a => FromJSON (f a), FromJSON (CDFList f (DataDomain I SlotNo)), FromJSON (CDFList f (DataDomain I BlockNo))) => FromJSON (BlockProp f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

(forall a. ToJSON a => ToJSON (f a), ToJSON (CDFList f (DataDomain I SlotNo)), ToJSON (CDFList f (DataDomain I BlockNo))) => ToJSON (BlockProp f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

toJSON :: BlockProp f -> Value #

toEncoding :: BlockProp f -> Encoding #

toJSONList :: [BlockProp f] -> Value #

toEncodingList :: [BlockProp f] -> Encoding #

omitField :: BlockProp f -> Bool #

Generic (BlockProp f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep (BlockProp f) :: Type -> Type Source #

Methods

from :: BlockProp f -> Rep (BlockProp f) x Source #

to :: Rep (BlockProp f) x -> BlockProp f Source #

(forall a. Show a => Show (f a), Show (CDFList f (DataDomain I SlotNo)), Show (CDFList f (DataDomain I BlockNo))) => Show (BlockProp f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep (BlockProp f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep (BlockProp f) = D1 ('MetaData "BlockProp" "Cardano.Analysis.API.Types" "locli-1.34-inplace" 'False) (C1 ('MetaCons "BlockProp" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "bpVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LocliVersion) :*: (S1 ('MetaSel ('Just "bpDomainSlots") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDFList f (DataDomain I SlotNo))) :*: S1 ('MetaSel ('Just "bpDomainBlocks") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDFList f (DataDomain I BlockNo))))) :*: ((S1 ('MetaSel ('Just "bpDomainCDFSlots") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (DataDomain f SlotNo)) :*: S1 ('MetaSel ('Just "bpDomainCDFBlocks") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (DataDomain f BlockNo))) :*: (S1 ('MetaSel ('Just "cdfForgerStart") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfForgerBlkCtx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime))))) :*: (((S1 ('MetaSel ('Just "cdfForgerLgrState") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfForgerLgrView") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime))) :*: (S1 ('MetaSel ('Just "cdfForgerLead") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfForgerTicked") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)))) :*: ((S1 ('MetaSel ('Just "cdfForgerMemSnap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfForgerForge") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime))) :*: (S1 ('MetaSel ('Just "cdfForgerAnnounce") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfForgerAdoption") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)))))) :*: (((S1 ('MetaSel ('Just "cdfForgerSend") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: (S1 ('MetaSel ('Just "cdfForgerAnnounceCum") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfPeerNoticeFirst") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)))) :*: ((S1 ('MetaSel ('Just "cdfPeerFetchFirst") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfPeerRequest") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime))) :*: (S1 ('MetaSel ('Just "cdfPeerFetch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfPeerAnnounce") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime))))) :*: (((S1 ('MetaSel ('Just "cdfPeerAdoption") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfPeerSend") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime))) :*: (S1 ('MetaSel ('Just "cdfBlocksPerHost") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Int)) :*: S1 ('MetaSel ('Just "cdfBlocksFilteredRatio") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Double)))) :*: ((S1 ('MetaSel ('Just "cdfBlocksChainedRatio") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Double)) :*: S1 ('MetaSel ('Just "cdfBlockBattle") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Int))) :*: (S1 ('MetaSel ('Just "cdfBlockSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Int)) :*: S1 ('MetaSel ('Just "bpPropagation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map Text (CDF f NominalDiffTime)))))))))

data MachPerf f Source #

The top-level representation of the machine timeline analysis results.

Instances

Instances details
CDFFields MachPerf p Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

(forall a. FromJSON a => FromJSON (f a), FromJSON (CDFList f (DataDomain I SlotNo))) => FromJSON (MachPerf f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

(forall a. ToJSON a => ToJSON (f a), ToJSON (CDFList f (DataDomain I SlotNo))) => ToJSON (MachPerf f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

toJSON :: MachPerf f -> Value #

toEncoding :: MachPerf f -> Encoding #

toJSONList :: [MachPerf f] -> Value #

toEncodingList :: [MachPerf f] -> Encoding #

omitField :: MachPerf f -> Bool #

Generic (MachPerf f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep (MachPerf f) :: Type -> Type Source #

Methods

from :: MachPerf f -> Rep (MachPerf f) x Source #

to :: Rep (MachPerf f) x -> MachPerf f Source #

(forall a. Show a => Show (f a), Show (CDFList f (DataDomain I SlotNo))) => Show (MachPerf f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

(forall a. NFData a => NFData (f a), NFData (CDFList f (DataDomain I SlotNo))) => NFData (MachPerf f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

rnf :: MachPerf f -> () Source #

type Rep (MachPerf f) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep (MachPerf f) = D1 ('MetaData "MachPerf" "Cardano.Analysis.API.Types" "locli-1.34-inplace" 'False) (C1 ('MetaCons "MachPerf" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "mpVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LocliVersion) :*: S1 ('MetaSel ('Just "mpDomainSlots") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDFList f (DataDomain I SlotNo)))) :*: (S1 ('MetaSel ('Just "mpDomainCDFSlots") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (DataDomain f SlotNo)) :*: S1 ('MetaSel ('Just "cdfHostSlots") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Word64)))) :*: ((S1 ('MetaSel ('Just "cdfStarts") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Word64)) :*: S1 ('MetaSel ('Just "cdfLeads") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Word64))) :*: (S1 ('MetaSel ('Just "cdfUtxo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Word64)) :*: (S1 ('MetaSel ('Just "cdfDensity") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Double)) :*: S1 ('MetaSel ('Just "cdfStarted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)))))) :*: (((S1 ('MetaSel ('Just "cdfBlkCtx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfLgrState") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime))) :*: (S1 ('MetaSel ('Just "cdfLgrView") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)) :*: S1 ('MetaSel ('Just "cdfLeading") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f NominalDiffTime)))) :*: ((S1 ('MetaSel ('Just "cdfBlockGap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Word64)) :*: S1 ('MetaSel ('Just "cdfSpanLensCpu") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Int))) :*: (S1 ('MetaSel ('Just "cdfSpanLensCpuEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Int)) :*: (S1 ('MetaSel ('Just "cdfSpanLensCpuRwd") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF f Int)) :*: S1 ('MetaSel ('Just "mpResourceCDFs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Resources (CDF f Word64)))))))))

data BlockEvents Source #

All events related to a block.

Constructors

BlockEvents 

Fields

Instances

Instances details
FromJSON BlockEvents Source # 
Instance details

Defined in Cardano.Analysis.API.Types

ToJSON BlockEvents Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Generic BlockEvents Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep BlockEvents :: Type -> Type Source #

Show BlockEvents Source # 
Instance details

Defined in Cardano.Analysis.API.Types

TimelineFields BlockEvents Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

Associated Types

data TimelineComments BlockEvents Source #

Show (TimelineComments BlockEvents) Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

type Rep BlockEvents Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep BlockEvents = D1 ('MetaData "BlockEvents" "Cardano.Analysis.API.Types" "locli-1.34-inplace" 'False) (C1 ('MetaCons "BlockEvents" 'PrefixI 'True) (((S1 ('MetaSel ('Just "beBlock") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Hash) :*: (S1 ('MetaSel ('Just "beBlockPrev") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Hash) :*: S1 ('MetaSel ('Just "beBlockNo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockNo))) :*: (S1 ('MetaSel ('Just "beSlotNo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotNo) :*: (S1 ('MetaSel ('Just "beEpochNo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo) :*: S1 ('MetaSel ('Just "beEpochSafeInt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochSafeInt)))) :*: ((S1 ('MetaSel ('Just "beForge") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockForge) :*: (S1 ('MetaSel ('Just "beObservations") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [BlockObservation]) :*: S1 ('MetaSel ('Just "beForks") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Count BlockEvents)))) :*: ((S1 ('MetaSel ('Just "bePropagation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CDF I NominalDiffTime)) :*: S1 ('MetaSel ('Just "beOtherBlocks") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Hash])) :*: (S1 ('MetaSel ('Just "beErrors") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [BPError]) :*: S1 ('MetaSel ('Just "beAcceptance") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(ChainFilter, Bool)]))))))
data TimelineComments BlockEvents Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

data SomeSummary Source #

Constructors

forall f.KnownCDF f => SomeSummary (Summary f) 

data HostBlockStats Source #

data ForgerEvents a Source #

Block's events, as seen by its forger.

Instances

Instances details
FromJSON a => FromJSON (ForgerEvents a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

ToJSON a => ToJSON (ForgerEvents a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Generic (ForgerEvents a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep (ForgerEvents a) :: Type -> Type Source #

Show a => Show (ForgerEvents a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

NFData a => NFData (ForgerEvents a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

rnf :: ForgerEvents a -> () Source #

type Rep (ForgerEvents a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep (ForgerEvents a) = D1 ('MetaData "ForgerEvents" "Cardano.Analysis.API.Types" "locli-1.34-inplace" 'False) (C1 ('MetaCons "ForgerEvents" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "bfeHost") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Host) :*: S1 ('MetaSel ('Just "bfeBlock") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Hash)) :*: (S1 ('MetaSel ('Just "bfeBlockPrev") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Hash) :*: (S1 ('MetaSel ('Just "bfeBlockNo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockNo) :*: S1 ('MetaSel ('Just "bfeSlotNo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotNo)))) :*: ((S1 ('MetaSel ('Just "bfeSlotStart") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotStart) :*: (S1 ('MetaSel ('Just "bfeEpochNo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo) :*: S1 ('MetaSel ('Just "bfeBlockSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe Int)))) :*: (S1 ('MetaSel ('Just "bfeStarted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: (S1 ('MetaSel ('Just "bfeBlkCtx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: S1 ('MetaSel ('Just "bfeLgrState") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)))))) :*: (((S1 ('MetaSel ('Just "bfeLgrView") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: S1 ('MetaSel ('Just "bfeLeading") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a))) :*: (S1 ('MetaSel ('Just "bfeTicked") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: (S1 ('MetaSel ('Just "bfeMemSnap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: S1 ('MetaSel ('Just "bfeForged") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a))))) :*: ((S1 ('MetaSel ('Just "bfeAnnounced") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: (S1 ('MetaSel ('Just "bfeAnnouncedCum") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: S1 ('MetaSel ('Just "bfeSending") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)))) :*: (S1 ('MetaSel ('Just "bfeAdopted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: (S1 ('MetaSel ('Just "bfeChainDelta") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "bfeErrs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [BPError])))))))

type MachPerfOne = MachPerf I Source #

One machine's performance

type ClusterPerf = MachPerf (CDF I) Source #

Bunch'a machines performances

newtype MultiClusterPerf Source #

Bunch'a bunches'a machine performances. Same as above, since we collapse [CDF I] into CDF I -- just with more statistical confidence.

data BPError Source #

Constructors

BPError 

Fields

Instances

Instances details
FromJSON BPError Source # 
Instance details

Defined in Cardano.Analysis.API.Types

ToJSON BPError Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

toJSON :: BPError -> Value #

toEncoding :: BPError -> Encoding #

toJSONList :: [BPError] -> Value #

toEncodingList :: [BPError] -> Encoding #

omitField :: BPError -> Bool #

Generic BPError Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep BPError :: Type -> Type Source #

Show BPError Source # 
Instance details

Defined in Cardano.Analysis.API.Types

NFData BPError Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

rnf :: BPError -> () Source #

type Rep BPError Source # 
Instance details

Defined in Cardano.Analysis.API.Types

data BlockForge Source #

Constructors

BlockForge 

Fields

Instances

Instances details
FromJSON BlockForge Source # 
Instance details

Defined in Cardano.Analysis.API.Types

ToJSON BlockForge Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Generic BlockForge Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep BlockForge :: Type -> Type Source #

Show BlockForge Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep BlockForge Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep BlockForge = D1 ('MetaData "BlockForge" "Cardano.Analysis.API.Types" "locli-1.34-inplace" 'False) (C1 ('MetaCons "BlockForge" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "bfForger") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Host) :*: S1 ('MetaSel ('Just "bfSlotStart") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotStart)) :*: (S1 ('MetaSel ('Just "bfBlockGap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime) :*: S1 ('MetaSel ('Just "bfBlockSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "bfStarted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime) :*: S1 ('MetaSel ('Just "bfBlkCtx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe NominalDiffTime))) :*: (S1 ('MetaSel ('Just "bfLgrState") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe NominalDiffTime)) :*: S1 ('MetaSel ('Just "bfLgrView") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe NominalDiffTime))))) :*: (((S1 ('MetaSel ('Just "bfLeading") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime) :*: S1 ('MetaSel ('Just "bfTicked") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe NominalDiffTime))) :*: (S1 ('MetaSel ('Just "bfMemSnap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe NominalDiffTime)) :*: S1 ('MetaSel ('Just "bfForged") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime))) :*: ((S1 ('MetaSel ('Just "bfAnnounced") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime) :*: S1 ('MetaSel ('Just "bfAnnouncedCum") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime)) :*: (S1 ('MetaSel ('Just "bfSending") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime) :*: (S1 ('MetaSel ('Just "bfAdopted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime) :*: S1 ('MetaSel ('Just "bfChainDelta") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)))))))

data BlockObservation Source #

Constructors

BlockObservation 

Fields

Instances

Instances details
FromJSON BlockObservation Source # 
Instance details

Defined in Cardano.Analysis.API.Types

ToJSON BlockObservation Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Generic BlockObservation Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep BlockObservation :: Type -> Type Source #

Show BlockObservation Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep BlockObservation Source # 
Instance details

Defined in Cardano.Analysis.API.Types

data BPErrorKind Source #

Instances

Instances details
FromJSON BPErrorKind Source # 
Instance details

Defined in Cardano.Analysis.API.Types

ToJSON BPErrorKind Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Generic BPErrorKind Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep BPErrorKind :: Type -> Type Source #

Show BPErrorKind Source # 
Instance details

Defined in Cardano.Analysis.API.Types

NFData BPErrorKind Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

rnf :: BPErrorKind -> () Source #

type Rep BPErrorKind Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep BPErrorKind = D1 ('MetaData "BPErrorKind" "Cardano.Analysis.API.Types" "locli-1.34-inplace" 'False) (((C1 ('MetaCons "BPEBefore" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Phase) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Phase)) :+: C1 ('MetaCons "BPEUnexpectedForObserver" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Phase))) :+: (C1 ('MetaCons "BPEUnexpectedForForger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Phase)) :+: C1 ('MetaCons "BPEUnexpectedAsFirst" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Phase)))) :+: ((C1 ('MetaCons "BPENoBlocks" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BPEDuplicateForge" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BPEMissingPhase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Phase)) :+: (C1 ('MetaCons "BPENegativePhase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Phase) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime)) :+: C1 ('MetaCons "BPEFork" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Hash))))))

data RunScalars Source #

From SlotStats collection:

Instances

Instances details
Generic RunScalars Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep RunScalars :: Type -> Type Source #

NFData RunScalars Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

rnf :: RunScalars -> () Source #

type Rep RunScalars Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep RunScalars = D1 ('MetaData "RunScalars" "Cardano.Analysis.API.Types" "locli-1.34-inplace" 'False) (C1 ('MetaCons "RunScalars" 'PrefixI 'True) (S1 ('MetaSel ('Just "rsElapsed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe NominalDiffTime)) :*: (S1 ('MetaSel ('Just "rsSubmitted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Word64)) :*: S1 ('MetaSel ('Just "rsThreadwiseTps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Double])))))

data SlotStats a Source #

Instances

Instances details
ToJSON a => ToJSON (SlotStats a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

toJSON :: SlotStats a -> Value #

toEncoding :: SlotStats a -> Encoding #

toJSONList :: [SlotStats a] -> Value #

toEncodingList :: [SlotStats a] -> Encoding #

omitField :: SlotStats a -> Bool #

Generic (SlotStats a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Associated Types

type Rep (SlotStats a) :: Type -> Type Source #

Methods

from :: SlotStats a -> Rep (SlotStats a) x Source #

to :: Rep (SlotStats a) x -> SlotStats a Source #

Show (TimelineComments (SlotStats NominalDiffTime)) Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

Show a => Show (SlotStats a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

NFData a => NFData (SlotStats a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

Methods

rnf :: SlotStats a -> () Source #

TimelineFields (SlotStats NominalDiffTime) Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

type Rep (SlotStats a) Source # 
Instance details

Defined in Cardano.Analysis.API.Types

type Rep (SlotStats a) = D1 ('MetaData "SlotStats" "Cardano.Analysis.API.Types" "locli-1.34-inplace" 'False) (C1 ('MetaCons "SlotStats" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "slSlot") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotNo) :*: S1 ('MetaSel ('Just "slEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo)) :*: (S1 ('MetaSel ('Just "slEpochSlot") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochSlot) :*: S1 ('MetaSel ('Just "slEpochSafeInt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochSafeInt))) :*: ((S1 ('MetaSel ('Just "slStart") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotStart) :*: S1 ('MetaSel ('Just "slCountStarts") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "slCountBlkCtx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "slCountLgrState") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))) :*: (((S1 ('MetaSel ('Just "slCountLgrView") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "slCountLeads") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "slCountForges") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "slChainDBSnap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64))) :*: ((S1 ('MetaSel ('Just "slRejectedTx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "slBlockNo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockNo)) :*: (S1 ('MetaSel ('Just "slBlockGap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "slStarted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)))))) :*: ((((S1 ('MetaSel ('Just "slBlkCtx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: S1 ('MetaSel ('Just "slLgrState") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a))) :*: (S1 ('MetaSel ('Just "slLgrView") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: S1 ('MetaSel ('Just "slTicked") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)))) :*: ((S1 ('MetaSel ('Just "slMemSnap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: S1 ('MetaSel ('Just "slLeading") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a))) :*: (S1 ('MetaSel ('Just "slForged") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe a)) :*: S1 ('MetaSel ('Just "slMempoolTxs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))) :*: (((S1 ('MetaSel ('Just "slSpanTxsMem") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe NominalDiffTime)) :*: S1 ('MetaSel ('Just "slTxsCollected") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "slTxsAccepted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "slTxsRejected") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64))) :*: ((S1 ('MetaSel ('Just "slUtxoSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "slDensity") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "slResources") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SMaybe (Resources Word64))) :*: S1 ('MetaSel ('Just "slLogObjects") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [LogObject])))))))
data TimelineComments (SlotStats NominalDiffTime) Source # 
Instance details

Defined in Cardano.Analysis.API.Metrics

data PerfSubset Source #

Constructors

PerfFull 
PerfReport 

Instances

Instances details
Show PerfSubset Source # 
Instance details

Defined in Cardano.Analysis.API.Types