Analytics
ChainLaunch provides built-in analytics for your Fabric networks through Prometheus metrics collection and Grafana dashboards.
Prerequisites
- A running Fabric network with at least one peer or orderer
- Monitoring configured (Prometheus + Grafana)
Enable Metrics on Nodes
Fabric peers and orderers expose Prometheus metrics when configured. ChainLaunch enables this automatically when you set up monitoring.
To verify metrics are enabled on a node, use the CLI:
chainlaunch metrics enable --version="v3.4.0" --port=9091
Or check via the API:
curl -s http://localhost:8100/api/v1/nodes | jq '.[].metrics'
Access the Analytics Dashboard
- Open ChainLaunch at
http://localhost:8100 - Navigate to Analytics in the left sidebar
- You'll see dashboards for your active networks
The analytics page shows:
- Transaction throughput — transactions per second across channels
- Block generation rate — how fast new blocks are committed
- Peer health — endorsement success/failure rates per peer
- Orderer performance — block cut time, consensus latency
- Resource usage — CPU, memory, and disk per node container
Key Metrics
| Metric | Description | What to watch |
|---|---|---|
endorser_successful_proposals | Successful endorsements | Should increase with transaction load |
broadcast_processed_count | Transactions submitted to orderer | Matches client submission rate |
blockcutter_block_fill_duration | Time to fill a block | High values = low throughput |
ledger_block_processing_time | Block commit latency | Spikes indicate bottlenecks |
gossip_membership_total_peers_known | Peers visible via gossip | Should match expected peer count |
Set Up Alerts
You can configure alerts in Grafana for critical conditions:
- Peer down — no metrics received for 2+ minutes
- High endorsement failure rate —
endorser_failed_proposalsexceeds threshold - Block processing slow —
ledger_block_processing_time> 5 seconds - Disk usage high — container disk > 80%
See Configure Monitoring for full Grafana alert setup.
Video Walkthrough
Next Steps
- Configure Monitoring for detailed Prometheus/Grafana setup
- Block Explorer to inspect individual blocks and transactions
- Network Management for API-driven analytics queries