Documentation ¶
Index ¶
- type AppSyncPublisherErrors
- type AppSyncPublisherReport
- type AppSyncPublisherState
- type BlockDownloaderErrors
- type BlockDownloaderReport
- type BlockDownloaderState
- type BlockMonitorErrors
- type BlockMonitorReport
- type BlockMonitorState
- type BundlerErrors
- type BundlerReport
- type BundlerState
- type CheckerErrors
- type CheckerReport
- type CheckerState
- type ContractorErrors
- type ContractorReport
- type ContractorState
- type ForwarderErrors
- type ForwarderReport
- type ForwarderState
- type GatewayErrors
- type GatewayReport
- type GatewayState
- type NetworkInfoErrors
- type NetworkInfoReport
- type NetworkInfoState
- type PeerErrors
- type PeerReport
- type PeerState
- type RedisPublisherErrors
- type RedisPublisherReport
- type RedisPublisherState
- type RelayerErrors
- type RelayerReport
- type RelayerState
- type Report
- type RunErrors
- type RunReport
- type RunState
- type SyncerErrors
- type SyncerReport
- type SyncerState
- type TransactionDownloaderErrors
- type TransactionDownloaderReport
- type TransactionDownloaderState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppSyncPublisherErrors ¶
type AppSyncPublisherReport ¶
type AppSyncPublisherReport struct { State AppSyncPublisherState `json:"state"` Errors AppSyncPublisherErrors `json:"errors"` }
type AppSyncPublisherState ¶
type BlockDownloaderErrors ¶
type BlockDownloaderReport ¶
type BlockDownloaderReport struct { State BlockDownloaderState `json:"state"` Errors BlockDownloaderErrors `json:"errors"` }
type BlockDownloaderState ¶
type BlockMonitorErrors ¶
type BlockMonitorErrors struct { BlockDownloadErrors atomic.Int64 `json:"block_download"` BlockValidationErrors atomic.Int64 `json:"block_validation"` TxDownloadErrors atomic.Int64 `json:"tx_download"` }
FIMXE: Remove this file
type BlockMonitorReport ¶
type BlockMonitorReport struct { State BlockMonitorState `json:"state"` Errors BlockMonitorErrors `json:"errors"` }
type BlockMonitorState ¶
type BlockMonitorState struct { SyncerCurrentHeight atomic.Int64 `json:"syncer_current_height"` TransactionsDownloaded atomic.Uint64 `json:"transactions_downloaded"` SyncerBlocksBehind atomic.Int64 `json:"syncer_blocks_behind"` AverageBlocksProcessedPerMinute atomic.Float64 `json:"average_blocks_processed_per_minute"` AverageTransactionDownloadedPerMinute atomic.Float64 `json:"average_transactions_downloaded_per_minute"` }
type BundlerErrors ¶
type BundlerErrors struct { BundrlError atomic.Uint64 `json:"bundrl_error"` BundrlMarshalError atomic.Uint64 `json:"bundrl_marshal_error"` ConfirmationsSavedToDbError atomic.Uint64 `json:"confirmations_saved_to_db_error"` AdditionalFetchError atomic.Uint64 `json:"additional_fetch_error"` PollerFetchError atomic.Uint64 `json:"poller_fetch_error"` }
type BundlerReport ¶
type BundlerReport struct { State BundlerState `json:"state"` Errors BundlerErrors `json:"errors"` }
type BundlerState ¶
type BundlerState struct { // Transactions that are pending, waiting to be bundled in the database PendingBundleItems atomic.Int64 `json:"pending_bundle_items"` // Counting bundles that come from the database BundlesFromNotifications atomic.Uint64 `json:"bundles_from_notifications"` AdditionalFetches atomic.Uint64 `json:"additional_fetches"` BundlesFromSelects atomic.Uint64 `json:"bundles_from_selects"` RetriedBundlesFromSelects atomic.Uint64 `json:"retried_bundles_from_selects"` AllBundlesFromDb atomic.Uint64 `json:"all_bundles_from_db"` // Counting bundles sent to bundlr.network BundlrSuccess atomic.Uint64 `json:"bundlr_success"` // Counting properly saved confirmations that bundle is sent ConfirmationsSavedToDb atomic.Uint64 `json:"confirmations_saved_to_db"` }
type CheckerErrors ¶
type CheckerReport ¶
type CheckerReport struct { State CheckerState `json:"state"` Errors CheckerErrors `json:"errors"` }
type CheckerState ¶
type CheckerState struct { BundlesTakenFromDb atomic.Uint64 `json:"bundles_taken_from_db"` AllCheckedBundles atomic.Uint64 `json:"all_checked_bundles"` FinishedBundles atomic.Uint64 `json:"finished_bundles"` UnfinishedBundles atomic.Uint64 `json:"unfinished_bundles"` DbStateUpdated atomic.Uint64 `json:"db_state_updated"` }
type ContractorErrors ¶
type ContractorErrors struct { DbContractInsert atomic.Uint64 `json:"db_contract_interaction"` DbSourceInsert atomic.Uint64 `json:"db_source_interaction"` DbLastTransactionBlockHeight atomic.Uint64 `json:"db_last_tx_block_height"` LoadPersistentContract atomic.Uint64 `json:"load_persistent_contract"` LoadContract atomic.Uint64 `json:"load_contract"` LoadSource atomic.Uint64 `json:"load_source"` LoadInitState atomic.Uint64 `json:"load_init_state"` }
type ContractorReport ¶
type ContractorReport struct { State ContractorState `json:"state"` Errors ContractorErrors `json:"errors"` }
type ContractorState ¶
type ForwarderErrors ¶
type ForwarderReport ¶
type ForwarderReport struct { State ForwarderState `json:"state"` Errors ForwarderErrors `json:"errors"` }
type ForwarderState ¶
type ForwarderState struct { FinishedHeight atomic.Uint64 `json:"finished_height"` L1Interactions atomic.Uint64 `json:"l1_interactions"` L2Interactions atomic.Uint64 `json:"l2_interactions"` CurrentSyncerHeight atomic.Uint64 `json:"current_syncer_height"` BlocksBehindSyncer atomic.Uint64 `json:"blocks_behind_syncer"` }
type GatewayErrors ¶ added in v0.1.284
type GatewayReport ¶ added in v0.1.284
type GatewayReport struct { State GatewayState `json:"state"` Errors GatewayErrors `json:"errors"` }
type GatewayState ¶ added in v0.1.284
type NetworkInfoErrors ¶
type NetworkInfoReport ¶
type NetworkInfoReport struct { State NetworkInfoState `json:"state"` Errors NetworkInfoErrors `json:"errors"` }
type NetworkInfoState ¶
type PeerErrors ¶
type PeerReport ¶
type PeerReport struct { State PeerState `json:"state"` Errors PeerErrors `json:"errors"` }
type RedisPublisherErrors ¶
type RedisPublisherReport ¶
type RedisPublisherReport struct { State RedisPublisherState `json:"state"` Errors RedisPublisherErrors `json:"errors"` }
type RedisPublisherState ¶
type RedisPublisherState struct { IsConnected atomic.Int64 `json:"is_connected"` LastSuccessfulMessageTimestamp atomic.Int64 `json:"last_successful_message_timestamp"` MessagesPublished atomic.Uint64 `json:"messages_published"` PoolHits atomic.Uint32 `json:"pool_hits"` PoolIdleConns atomic.Uint32 `json:"pool_idle_conns"` PoolMisses atomic.Uint32 `json:"pool_misses"` PoolStaleConns atomic.Uint32 `json:"pool_stale_conns"` PoolTimeouts atomic.Uint32 `json:"pool_timeouts"` PoolTotalConns atomic.Uint32 `json:"pool_total_conns"` }
type RelayerErrors ¶ added in v0.1.283
type RelayerErrors struct { SequencerPermanentParsingError atomic.Uint64 `json:"sequencer_permanent_parsing_error"` SequencerBlockDownloadError atomic.Uint64 `json:"sequencer_block_download_error"` SequencerPermanentBlockDownloadError atomic.Uint64 `json:"sequencer_permanent_block_download_error"` }
type RelayerReport ¶ added in v0.1.283
type RelayerReport struct { State RelayerState `json:"state"` Errors RelayerErrors `json:"errors"` }
type RelayerState ¶ added in v0.1.283
type RelayerState struct { BlocksReceived atomic.Uint64 `json:"blocks_received"` TransactionsReceived atomic.Uint64 `json:"transactions_received"` MessagesReceived atomic.Uint64 `json:"messages_received"` TransactionsParsed atomic.Uint64 `json:"transactions_parsed"` BundleItemsSaved atomic.Uint64 `json:"bundle_items_saved"` AverageSequencerBlocksProcessedPerMinute atomic.Float64 `json:"average_blocks_processed_per_minute"` }
type Report ¶
type Report struct { Run *RunReport `json:"run,omitempty"` Peer *PeerReport `json:"peer,omitempty"` Syncer *SyncerReport `json:"syncer,omitempty"` Contractor *ContractorReport `json:"contractor,omitempty"` Bundler *BundlerReport `json:"bundler,omitempty"` Checker *CheckerReport `json:"checker,omitempty"` Forwarder *ForwarderReport `json:"forwarder,omitempty"` Relayer *RelayerReport `json:"relayer,omitempty"` Gateway *GatewayReport `json:"gateway,omitempty"` NetworkInfo *NetworkInfoReport `json:"network_info,omitempty"` BlockMonitor *BlockMonitorReport `json:"block_monitor,omitempty"` BlockDownloader *BlockDownloaderReport `json:"block_downloader,omitempty"` TransactionDownloader *TransactionDownloaderReport `json:"transaction_downloader,omitempty"` RedisPublishers []RedisPublisherReport `json:"redis_publishers,omitempty"` AppSyncPublisher *AppSyncPublisherReport `json:"appsync_publisher,omitempty"` }
type SyncerErrors ¶
type SyncerReport ¶
type SyncerReport struct { State SyncerState `json:"state"` Errors SyncerErrors `json:"errors"` }
type SyncerState ¶
type SyncerState struct { FinishedHeight atomic.Int64 `json:"finished_height"` AverageInteractionsSavedPerMinute atomic.Float64 `json:"average_interactions_saved_per_minute"` InteractionsSaved atomic.Uint64 `json:"interactions_saved"` FailedInteractionParsing atomic.Uint64 `json:"failed_interaction_parsing"` }
type TransactionDownloaderReport ¶
type TransactionDownloaderReport struct { State TransactionDownloaderState `json:"state"` Errors TransactionDownloaderErrors `json:"errors"` }
Click to show internal directories.
Click to hide internal directories.