Skip to content
Documentation/celestia-monitoring/grafana_consensus /grafana_consensus_metrics.mdView on celestia-monitoring
celestia-monitoring/grafana_consensus /grafana_consensus_metrics.md

Grafana consensus & validator metrics FAQ

Grafana consensus & validator metrics FAQ


SYNC STATUS

celestia_consensus_fast_syncing

Celestia Fast Synchronisation Metric: A metric that indicates whether a node in the Celestia consensus system is performing fast synchronisation. When this metric has a value of 1, it means that the node is performing fast synchronisation. Conversely, a value of 0 indicates that the node is not currently performing fast synchronisation. Fast synchronisation is a process in which a node can quickly acquire a copy of the blockchain by downloading compressed states and blocks from full nodes in the network, which speeds up the process of catching up with the network.

Value: Either NO SYNC (not block syncing) or SYNC (syncing)

image

State Syncing

celestia_consensus_state_syncing

Celestia State Synchronisation Metric: A metric that indicates whether a node in the Celestia consensus system is performing state synchronisation. When this metric has a value of 1, it means that the node is performing state synchronisation. Conversely, a value of 0 indicates that the node is not currently performing state synchronisation. State synchronisation is a process in which a node updates its internal state to reflect the current state of the blockchain, which may include verification of smart contracts, pending transactions, among other things.

Value: indicates whether a node is synchronising its state, FALSE is not currently performing state synchronisation, TRUE is performing state synchronisation.

image

Node Last Signed Height

celestia_consensus_validator_last_signed_height

Indicates the most recent blockchain height at which a specific validator has signed a block in the Celestia consensus system. The numerical value represents this height. This metric is useful for monitoring the activity and status of validators on the network, as the signed height reflects the progress of consensus and validator participation in block production.

Value: numeric value indicating the last height signed by the validator or No validator in case the node is not a validator.

image

Node Voting Power

celestia_consensus_validator_power

Voting power of a specific validator in the Celestia consensus system.

Value: numeric value in tokens representing voting power

image

Connected peers & P2P peers

celestia_p2p_peers

Number of nodes connected as peers in Celestia's peer-to-peer (P2P) network system. Peers in a P2P network are nodes that communicate directly with each other to share information and maintain network integrity. This metric provides information about the health and activity of the network, as a higher number of peers can indicate a more robust and distributed network.

Value: numeric value indicating the nodes connected as peers

image

Height Consensus Monitoring

celestia_consensus_start_height

Block height from which consensus-related metrics began to be recorded in the Celestia consensus system. This metric provides information about the reference point from which consensus related data is being collected and analysed in the network. The numerical value represents this starting height.

Value: numeric value indicating the height from which metrics started in the Celestia consensus system

image

Block time

celestia_consensus_block_time_seconds

Average time between the creation of consecutive blocks in the Celestia consensus system, expressed in seconds. This metric is critical for assessing the efficiency and health of the network, as a lower block time may indicate a faster and more responsive network, while a higher block time may indicate possible congestion problems or slowness in the consensus process.

Value: average block time in seconds in the Celestia consensus system

image

Consensus Height

celestia_consensus_height

Current block height in the Celestia consensus system. This metric provides information on the progress of the blockchain in terms of confirmed blocks. It is a fundamental metric for monitoring the status and activity of the network, as it reflects where the consensus is in the blockchain at any given point in time.

Value: numeric value representing the current height of the block in the Celestia consensus system

image

Block Size (bytes)

celestia_consensus_block_size_bytes

Size of the last block in the Celestia consensus system, expressed in bytes. The block size is important for understanding the network's ability to handle transactions and data, as well as for assessing the efficiency of the consensus protocol in terms of block propagation and confirmation.

Value: block size in bytes in the Celestia consensus system

image

Nº Transactions Committed

celestia_consensus_num_txs

Number of transactions included in the last block in the Celestia consensus system. This metric is crucial for understanding the activity and volume of transactions on the network at any given time. A higher number of transactions may indicate higher network activity, while a low or zero number may reflect periods of low network activity or congestion.

Value: Numeric value representing the number of transactions included in the last block

image

Total txs

celestia_consensus_total_txs

Total number of transactions processed in the Celestia consensus system since inception. This metric is essential to understand the cumulative activity of the network and the total volume of transactions completed. Tracking the total number of transactions can provide insight into the growth and adoption of the network over time.

Value: a numeric value representing the total number of transactions processed so far in the Celestia consensus system

image

Missing Validators Power

celestia_consensus_missing_validators_power

Total power of missing validators in the Celestia consensus system. Missing validators refer to those who are not active or are not participating in the consensus process at a given time. This metric can provide information about the health and integrity of the network, as a significant missing validator power could indicate problems with the participation or availability of validator nodes in the network.

Value: numeric value representing the total power of the missing validators in the Celestia consensus system. A low or zero value is desirable, as it suggests active and healthy participation of validators in the consensus process.

image

Nº Validators missing blocks

celestia_consensus_missing_validators

Validator signatures are essential to validate and ensure the integrity of blocks on the blockchain. This metric can provide information on how many validators are not actively participating in the consensus process at any given time. A low or zero value is desirable, as it suggests high participation and cooperation of validators in the network.

Value: number of validators who did not sign in the Celestia consensus system

image

Total bonded tokens

celestia_consensus_validators_power

A measure indicating the total combined power of all active validators in the Celestia consensus system. The power of validators refers to their collective influence on the consensus process and can be determined by several factors, such as the amount of participation in the network, the reputation of the validator and other criteria set by the consensus protocol. This metric provides an overview of the accumulated power of validators in the network at a given time, which can be useful for assessing the security and robustness of the consensus system.

Value: number representing the total power of all validators in the Celestia consensus system.

image

Consensus Validators

celestia_consensus_validators

Total number of active validators in the Celestia consensus

Value: number of active validators

image

Consensus Step Duration

celestia_consensus_step_duration_seconds_bucket

This metric provides detailed information on the time spent on each step of the consensus process in the Celestia system.

Value: histogram recording the time spent on each step of the consensus process in the Celestia system.

image

Block Processing Time

increase(celestia_state_block_processing_time_sum[$__rate_interval])

This metric records the time taken by Celestia to process a status block, from BeginBlock to EndBlock, measured in milliseconds. It represents the total duration of operations performed during the processing of the status block in the Celestia system. A high value may indicate slower processing, which could affect the ability of the network to maintain optimal performance.

Value: time between BeginBlock and EndBlock in milliseconds in the Celestia system.

image

Interval between Consensus Blocks

celestia_consensus_block_interval_seconds_bucket

This metric records the time that elapses between the production of consecutive blocks in the Celestia system, measured in seconds. It helps to understand how often new blocks are being generated in the network. For example, if there is a bucket for intervals of up to 10 seconds, it means that most blocks are being produced in that time period or less. This can be useful for assessing the efficiency and speed of the block generation process in the network.

Value: Histogram recording the time between consecutive blocks in seconds in the Celestia system.

image

Number of block parts received

celestia_consensus_block_gossip_parts_received

This metric counts the number of block parts received by a node in the Celestia system through gossip messages. Each share may or may not be relevant to the block that the node is currently collecting, and this information is recorded with the matches_current tag. This can be useful to monitor the amount of data the node is receiving during the block gathering process and to understand whether the received parties are relevant to the current block.

Value: number of block parts received by the node

image

Block Interval Seconds Sum

celestia_consensus_block_interval_seconds_sum

This metric represents the sum total of the time elapsed between consecutive blocks in the Celestia system, measured in seconds. It provides a cumulative view of the time spent between the production of each pair of successive blocks. A higher value could indicate a slowdown in block production or longer intervals between blocks.

Value: time between consecutive blocks in the Celestia system, measured in seconds

image

Block Interval Seconds Count

celestia_consensus_block_interval_seconds_count

Total number of times a time interval between blocks has been observed in the Celestia system. It provides a measure of how often blocks are produced in the network. A higher count may indicate high block generation activity, while a low count may indicate block generation problems or long intervals between blocks.

Value: total number of times a time interval between blocks has been observed in the Celestia system

image

Mempool size

celestia_mempool_size

Shows how many transactions are currently pending confirmation in the mempool, i.e. how many transactions are waiting to be included in a block.

Value: number of transactions pending confirmation that have not yet been included in a block

image

Duplicate Transactions in Mempool

celestia_mempool_already_seen_txs

Number of transactions that have entered the mempool in the Celestia system, but were already present in the mempool at the time. Essentially, these transactions are not new, as they have been observed before and are kept in the mempool. This can be useful in understanding the efficiency of handling duplicate transactions in the system.

Value: number of transactions already present in the mempool

image

Mempool Size Bytes

celestia_mempool_size_bytes

Total size of the mempool in bytes in the Celestia system. The mempool stores transactions pending processing before they are included in a block and added to the blockchain. A larger mempool may indicate high transaction activity or network congestion, while a smaller mempool may indicate lower activity or transaction processing efficiency.

Value: total mempool size in bytes

image

Mempool tx Size Bytes Sum

celestia_mempool_tx_size_bytes_sum

The sum total of the size of all transactions in bytes present in the Celestia system mempool. It provides a measure of the total volume of transaction data pending processing on the network. A larger transaction size may indicate complex transactions or transactions with a large amount of attached data.

Value: total sum of the size of all transactions in bytes in the mempool

image

Txs evicted mempool

celestia_mempool_evicted_txs

Number of transactions expelled from the mempool because they have reached the end of their useful lifetime

Value: number of transactions ejected from the mempool due to reaching the time to live (TTL)

image

Txs failed mempool

celestia_mempool_failed_txs

This metric indicates how many transactions have failed to be added ("added") to the mempool and how many have failed to be rechecked.

Value: number of transactions that have failed in the mempool.

image

Nº Revisions in the Mempool

celestia_mempool_recheck_times

Indicates how many times transactions have been reviewed again in the mempool before being included in a block or ejected.

Value: number of times transactions are reviewed again in the mempool.

image

Process CPU Seconds Total

process_cpu_seconds_total

This metric records the total time, in seconds, spent by both the user and the operating system in executing a specific process.

Value: total time in CPU seconds consumed by the process since its start.

image

Current Process Virtual Memory Usage

process_virtual_memory_bytes

Total amount of virtual memory used by the process in bytes

Value: number indicating the size of virtual memory in bytes

image

Current Process Resident Memory Usage

process_resident_memory_bytes

This metric records the size of resident memory in bytes used by the process.

Value: Size of resident memory in bytes used by the process.

image

Duration of Garbage Collection Pauses in Go

go_gc_duration_seconds_sum

This metric is useful for monitoring rubbish collector performance in programs written in Go, which can help identify potential bottlenecks or performance issues related to memory management.

Value: value of the cumulative sum of the durations of refuse collection breaks.

image