Documentation ¶
Index ¶
- Variables
- func ObserveActiveValidatorsCount(count int)
- func ObserveAggregateAttestation(startTime time.Time)
- func ObserveAggregateQuality(participationCount int, totalCount int)
- func ObserveAttestationBlockProcessingTime(startTime time.Time)
- func ObserveBatchVerificationThroughput(d time.Duration, totalSigs int)
- func ObserveBlobVerificationTime(startTime time.Time)
- func ObserveBlockImportingLatency(latency time.Time)
- func ObserveCommitteeSize(size float64)
- func ObserveCurrentEpoch(epoch uint64)
- func ObserveCurrentSlot(slot uint64)
- func ObserveEpochProcessingTime(startTime time.Time)
- func ObserveExecutionTime(startTime time.Time)
- func ObserveFrozenBlobs(count int)
- func ObserveFrozenBlocks(count int)
- func ObserveFullBlockProcessingTime(startTime time.Time)
- func ObserveGossipTopicSeen(topic string, l int)
- func ObserveNumberOfAggregateSignatures(signatures int)
- func ObserveProcessEffectiveBalanceUpdatesTime(startTime time.Time)
- func ObserveProcessHistoricalRootsUpdateTime(startTime time.Time)
- func ObserveProcessInactivityScoresTime(startTime time.Time)
- func ObserveProcessJustificationBitsAndFinalityTime(startTime time.Time)
- func ObserveProcessParticipationFlagUpdatesTime(startTime time.Time)
- func ObserveProcessRegistryUpdatesTime(startTime time.Time)
- func ObserveProcessRewardsAndPenaltiesTime(startTime time.Time)
- func ObserveProcessSlashingsTime(startTime time.Time)
- func ObserveProcessSyncCommitteeUpdateTime(startTime time.Time)
- func ObserveTotalInBytes(count int64)
- func ObserveTotalOutBytes(count int64)
- type ValidatorMonitor
Constants ¶
This section is empty.
Variables ¶
var (
ProcessInactivityScoresTime = metrics.GetOrCreateGauge("process_inactivity_ccores_time")
)
Functions ¶
func ObserveActiveValidatorsCount ¶
func ObserveActiveValidatorsCount(count int)
func ObserveAggregateAttestation ¶
ObserveAggregateAttestation sets the time it took add new attestation to aggregateAndProof
func ObserveAggregateQuality ¶
func ObserveAttestationBlockProcessingTime ¶
ObserveAttestHit increments the attestation hit metric
func ObserveBatchVerificationThroughput ¶
ObserveBatchVerificationThroughput increments the batch verification throughput metric
func ObserveCommitteeSize ¶
func ObserveCommitteeSize(size float64)
func ObserveCurrentEpoch ¶
func ObserveCurrentEpoch(epoch uint64)
func ObserveCurrentSlot ¶
func ObserveCurrentSlot(slot uint64)
func ObserveEpochProcessingTime ¶
ObserveEpochProcessingTime sets last epoch processing time
func ObserveExecutionTime ¶
func ObserveFrozenBlobs ¶
func ObserveFrozenBlobs(count int)
func ObserveFrozenBlocks ¶
func ObserveFrozenBlocks(count int)
func ObserveFullBlockProcessingTime ¶
ObserveFullBlockProcessingTime increments the full block processing time metric
func ObserveGossipTopicSeen ¶
ObserveGossipTopicSeen increments the gossip topic seen metric
func ObserveNumberOfAggregateSignatures ¶
func ObserveNumberOfAggregateSignatures(signatures int)
ObserveNumberOfAggregateSignatures sets the average processing time for each attestation in aggregate
func ObserveProcessEffectiveBalanceUpdatesTime ¶
ObserveProcessEffectiveBalanceUpdatesTime sets ProcessEffectiveBalanceUpdates time
func ObserveProcessHistoricalRootsUpdateTime ¶
ObserveProcessHistoricalRootsUpdateTime sets ProcessHistoricalRootsUpdate time
func ObserveProcessInactivityScoresTime ¶
ObserveProcessInactivityScoresTime sets ProcessJustificationBitsAndFinality time
func ObserveProcessJustificationBitsAndFinalityTime ¶
ObserveProcessJustificationBitsAndFinalityTime sets ProcessJustificationBitsAndFinality time
func ObserveProcessParticipationFlagUpdatesTime ¶
ObserveProcessParticipationFlagUpdatesTime sets ProcessParticipationFlagUpdates time
func ObserveProcessRegistryUpdatesTime ¶
ObserveProcessRegistryUpdatesTime sets ProcessRegistryUpdates time
func ObserveProcessRewardsAndPenaltiesTime ¶
ObserveProcessRewardsAndPenaltiesTime sets ProcessRewardsAndPenalties time
func ObserveProcessSlashingsTime ¶
ObserveProcessSlashingsTime sets ProcessSlashings time
func ObserveProcessSyncCommitteeUpdateTime ¶
ObserveProcessSyncCommitteeUpdateTime sets ProcessSyncCommitteeUpdate time
func ObserveTotalInBytes ¶
func ObserveTotalInBytes(count int64)
func ObserveTotalOutBytes ¶
func ObserveTotalOutBytes(count int64)
Types ¶
type ValidatorMonitor ¶
type ValidatorMonitor interface { ObserveValidator(vid uint64) RemoveValidator(vid uint64) OnNewBlock(state *state.CachingBeaconState, block *cltypes.BeaconBlock) error }
func NewValidatorMonitor ¶
func NewValidatorMonitor( enableMonitor bool, ethClock eth_clock.EthereumClock, beaconConfig *clparams.BeaconChainConfig, syncedData *synced_data.SyncedDataManager, ) ValidatorMonitor
Directories ¶
Path | Synopsis |
---|---|
Package mock_services is a generated GoMock package.
|
Package mock_services is a generated GoMock package. |