The Zcash Basis is happy to announce Zebra 4.1.0, a launch centered on increasing observability with complete Prometheus metrics and Grafana dashboards, whereas strengthening mempool compliance with zcashd. This launch accommodates no breaking modifications for node operators.
What’s New in 4.1.0
Observability: See Inside Your Node
Zebra 4.1.0 considerably expands monitoring capabilities to provide operators deep visibility into node well being, efficiency, and bottlenecks. We need to convey Zebra’s observability on par with different fashionable node consumer implementations, so we recognized vital gaps and stuffed them.
Worth Pool, RPC, and Peer Metrics
We at the moment are exposing new Prometheus metrics throughout three key areas:
Worth Pool Monitoring
- Pool balances: clear, sprout, sapling, orchard, and deferred
- Whole chain provide
RPC Efficiency Metrics
- Request counts by technique and standing
- Latency histograms for per-method efficiency evaluation
- Energetic request gauge to trace concurrent load
- Error monitoring by technique and error code
To assist operators to detect RPC bottlenecks and consumer points.
Peer Well being Metrics
- Handshake latency histograms to determine gradual peer connections
- Failure monitoring by cause (timeout, invalid signature, protocol mismatch, and so on.)
These are vital for understanding community well being.Â
Efficiency HistogramsÂ
We added period metrics to 3 vital efficiency areas:
Sync Pipeline Latency
sync.stage.duration_seconds:Monitor time spent inobtain_tipsandextend_tipsphasessync.block.obtain.duration_seconds:Per-block obtain latencysync.block.confirm.duration_seconds:Per-block verification time
To determine the reason for delays; community climate, block verification, or database operations.
Consensus Batch Verification
zebra.consensus.batch.duration_seconds{verifier,end result}:Detailed period histograms, protectinged25519,redjubjub,redpallas,halo2, andgroth16_saplingverifiers
To allow evaluation of proof verification efficiency, put up checkpoint synchronization.
RocksDB Database Metrics
- Whole disk and reside knowledge sizes (up to date each 30 seconds)
memtablereminiscence utilization- Breakdown of disk and reminiscence utilization per column household
To grasp database development and reminiscence strain throughout sync.
RocksDB I/O and Sync DistanceÂ
Lastly, we centered on observability within the state layer and chain synchronization progress
Sync Distance Metrics
sync.estimated_distance_to_tip:What number of blocks behind the community tipsync.estimated_network_tip_height:Estimated present community top
These metrics are vital for detecting stalled nodes and monitoring catch-up progress.
RocksDB I/O Efficiency
zebra.state.rocksdb.batch_commit.duration_seconds:Write latency histograms
This permits detection of database bottlenecks throughout heavy sync load.
We’re additionally now measuring bytes pending compaction in addition to the energetic compaction standing.
Documentation
For detailed documentation on configuration, deployment, and superior options, go to the Zebra E book.
Get Concerned
Zebra is an open-source mission and we welcome contributions from the neighborhood:
Zebra is the Zcash Basis’s impartial, consensus-compatible implementation of a Zcash node, written in Rust for efficiency and security.

