The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / cockroachdb / cockroachdb-raft-snapshot-storm

Operations Guides

CockroachDB Raft snapshot storm: when followers fall too far behind

Raft snapshots are CockroachDB’s fallback when incremental log replication is no longer possible. A leader sends a full copy of a range (up to 512 MiB by default) to a follower that has fallen so far behind that the log entries it needs have already been truncated. In steady state, this almost never happens. When it starts happening at scale, it creates a resource-draining cycle that can degrade an entire cluster.

The symptom: range_snapshots_generated and range_snapshots_applied_initial climb from near zero to a sustained elevated rate. Each snapshot transfers a large block over the network and writes it to disk on the receiving node. That I/O competes with foreground traffic and with the node’s own log application, so the lagging follower falls further behind while applying the snapshot. The next range that needs a snapshot hits the same overloaded node. The pattern feeds itself.

The precursor signal is raftlog_behind, a per-store gauge that sums the log entry deficit across all ranges where that node’s replica trails the leader. Once this begins climbing on a single node, you have a warning window before snapshots become necessary. Once snapshots fire at volume, you are already in the cycle and need to act.

What this means

Under normal operation, CockroachDB replicates writes through the Raft log. The leader proposes entries, followers receive and persist them, and once a quorum has persisted an entry it is committed and applied to each replica’s Pebble state machine. The leader periodically truncates old entries that all followers have acknowledged, keeping the log bounded.

A follower needs a full snapshot when the leader no longer holds the log entries it requires. This happens when the follower’s apply progress falls behind the leader’s truncation point. The leader then sends the entire range state. With ranges sized at up to 512 MiB by default, each snapshot is a substantial I/O operation on both sender and receiver.

Snapshot application is not free. While the receiving node writes the snapshot data into its LSM tree, it continues accumulating lag on its other ranges. The I/O competes with compaction, foreground writes, and Raft log application. A node that was slightly behind can spiral into a state where it needs snapshots across many ranges simultaneously, each consuming disk bandwidth and network capacity.

flowchart TD
    A[Steady state: followers
replicate via log entries] --> B[Follower slows down
disk, CPU, or network] B --> C[raftlog_behind climbs] C --> D{Leader still has
needed log entries?} D -->|Yes| E[Catch up via
log replication] D -->|No, truncated| F[Full Raft snapshot
up to 512 MiB] F --> G[Snapshot I/O competes
with foreground traffic] G --> H[Follower falls
further behind] H --> C G --> I[Cluster-wide latency
and throughput degrade]

A single slow node recovering thousands of ranges can generate sustained snapshot traffic that saturates its disk and network for hours. If the cluster is also handling foreground load, the snapshot traffic degrades query latency across all nodes, not just the one being healed.

Common causes

CauseWhat it looks likeFirst thing to check
Chronically slow node (disk or CPU)One node shows persistently elevated raftlog_behind. Disk I/O latency or CPU utilization is high on that node.iostat on the node and storage_l0_sublevels per store
Network bottleneck between nodesround_trip_latency elevated for specific node pairs. Snapshots to certain nodes are slow.curl -s http://localhost:8080/_status/vars | grep round_trip_latency
Recovery after node failure or maintenanceranges_underreplicated elevated. Snapshot rate proportional to data volume on the failed node.curl -s http://localhost:8080/_status/vars | grep ranges_underreplicated
Range splits amplifying the problemRange count spikes (e.g., during IMPORT/RESTORE). Each new range that needs a snapshot is a separate transfer.curl -s http://localhost:8080/_status/vars | grep '^ranges'
Snapshot rate limits too restrictiveRecovery takes hours or days. Snapshots trickle through but never converge. Under-replication persists.SHOW CLUSTER SETTING kv.snapshot_rebalance.max_rate;

Quick checks

Run these read-only commands on any node in the cluster. All are safe for production use during an incident.

# Check Raft log behind per node (the precursor signal)
curl -s http://localhost:8080/_status/vars | grep raftlog_behind

# Check snapshot generation and application rates
curl -s http://localhost:8080/_status/vars | grep range_snapshots

# Check under-replicated range count
curl -s http://localhost:8080/_status/vars | grep ranges_underreplicated

# Check inter-node RPC latency
curl -s http://localhost:8080/_status/vars | grep round_trip_latency

# Check L0 sublevels per store (snapshot ingest can cause storage pressure)
curl -s http://localhost:8080/_status/vars | grep storage_l0_sublevels

# Check write stalls (a consequence of snapshot I/O saturating the disk)
curl -s http://localhost:8080/_status/vars | grep storage_write_stalls

# Check WAL fsync latency (write-path health on the receiving node)
curl -s http://localhost:8080/_status/vars | grep storage_wal_fsync_latency

# Check disk I/O on the lagging node
iostat -xz 1 3

How to diagnose it

  1. Confirm the snapshot rate is abnormal. Check the rate of change of range_snapshots_generated (a counter) over a 10-minute window. In steady state, this should be near zero. During planned rebalancing or after a known node failure, some snapshot activity is expected. If the rate is elevated without an operational cause, proceed.

  2. Identify which nodes are lagging. Check raftlog_behind per store. The aggregate metric can mislead: 10,000 entries behind across 5,000 ranges (2 per range) is fine. 10,000 entries behind concentrated on a single node indicates that node cannot apply log entries fast enough. Focus on the node with the highest sustained value.

  3. Determine why the lagging node cannot keep up. Check three resources on the affected node:

    • Disk I/O: Run iostat -xz 1 and look at await and utilization. If the disk is saturated, the node cannot persist Raft log entries or apply them fast enough.
    • CPU: Check sys_cpu_user_ns and sys_cpu_sys_ns rates. CPU saturation delays Raft processing. A node with 50,000 ranges needs significant CPU just for Raft ticking.
    • Network: Check round_trip_latency for the affected node’s pairs. Elevated latency means log entries arrive slowly, and the follower falls behind before it can begin applying.
  4. Check for secondary storage pressure. Snapshot ingest writes a large block of data into the LSM tree. Check storage_l0_sublevels on the receiving node. If L0 is climbing past 10-20, the snapshot ingest is causing compaction to fall behind, which further degrades the node’s ability to apply entries. This is the mechanism by which snapshot storms trigger the LSM compaction death spiral.

  5. Assess whether this is recovery-induced. Check ranges_underreplicated. If it is elevated and the cluster recently lost a node or completed a decommission, the snapshot traffic is the cluster healing itself. The question is whether the healing rate is acceptable or degrading foreground traffic too aggressively.

  6. Evaluate foreground impact. Check SQL latency and admission control queue depth. If admission.io.overload is elevated or the store-write queue is deep, snapshot I/O is competing with foreground writes and the system is throttling user traffic to protect itself.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
raftlog_behindPrecursor to snapshots. Shows which followers are falling behind before truncation forces a full snapshot.Sustained > 1000 entries on a single node, or steadily growing
range_snapshots_generatedDirect measure of snapshot activity. Near zero in steady state.Sustained nonzero rate without rebalancing cause
range_snapshots_applied_initialConfirms snapshots are being received and applied.Rate not keeping pace with generation (receiver overloaded)
ranges_underreplicatedIndicates whether snapshots are recovery-driven or anomaly-driven.Elevated without recent node loss or decommission
round_trip_latencyNetwork health between nodes. Slow links delay log entry delivery.Any pair > 5x baseline
storage_l0_sublevelsSnapshot ingest can cause L0 growth on the receiving node.> 10 sustained, especially if rising
storage_write_stallsSecondary effect: snapshot I/O saturating the disk.Any nonzero in production
Disk I/O utilization and latencyDisk saturation is the most common root cause of apply lag.> 80% utilization or avg latency > 5ms on SSD

Fixes

Chronically slow node

If one node consistently shows elevated raftlog_behind and its disk or CPU is saturated, the node is undersized for its workload. Options:

  • Address the resource bottleneck. Add disk I/O capacity (faster storage, more provisioned IOPS on cloud volumes) or add CPU. This is the right fix if the node is otherwise healthy.
  • Reduce the node’s load. If the node holds too many ranges, the cluster may be under-provisioned for its range count. CockroachDB recommends keeping per-node range count below 50,000 for typical workloads.
  • Decommission the node. If the node is persistently impaired (failing disk, insufficient resources), decommission it so the cluster redistributes ranges to healthy nodes. Run cockroach node decommission <node_id> --host=<host:port> and monitor progress. Decommissioning itself generates snapshot traffic as ranges move off the node, so only do this when other nodes have capacity to absorb the transfer.

Network bottleneck

If round_trip_latency is elevated for specific node pairs, the network path between them is degraded. Check for NIC errors, cloud bandwidth limits, or asymmetric routing. CockroachDB multiplexes all inter-node traffic over a single gRPC connection per node pair, so there is no application-level way to prioritize Raft heartbeats over snapshot data. If snapshot transfers saturate the link, heartbeat delivery also suffers, which can cause liveness issues.

Recovery overload

If the snapshot storm is the cluster healing after a node failure, the traffic is legitimate but may be too aggressive. Two cluster settings control snapshot bandwidth:

-- Check current snapshot rate limits
SHOW CLUSTER SETTING kv.snapshot_rebalance.max_rate;
-- kv.snapshot_recovery.max_rate existed until v23.2 (default 32 MiB) and was removed in v24.1

Defaults: kv.snapshot_rebalance.max_rate is 32 MiB. kv.snapshot_recovery.max_rate was also 32 MiB but was deprecated in v23.2 and removed in v24.1, so on current releases kv.snapshot_rebalance.max_rate governs all snapshots.

kv.snapshot_rebalance.max_rate throttles snapshots during load-based rebalancing and up-replication. kv.snapshot_recovery.max_rate throttled recovery snapshots until it was deprecated in v23.2 and removed in v24.1. If set too high, snapshot traffic saturates disk and network, degrading foreground queries. If set too low, recovery takes excessively long and under-replication persists.

To reduce foreground impact during recovery:

-- Reduce recovery snapshot rate (this is a conservative example; adjust to your environment)
-- This takes effect immediately at runtime.
SET CLUSTER SETTING kv.snapshot_rebalance.max_rate = '4 MiB';

This is a tradeoff. Lower values mean slower recovery but less foreground impact. Monitor ranges_underreplicated to confirm the cluster is still converging.

Foreground load reduction

If snapshot traffic is degrading user-facing queries, reduce competing load:

  • Pause bulk operations (IMPORT, RESTORE, large schema changes) that generate write I/O competing with snapshot apply.
  • If admission control is throttling, the system is already at capacity. Reducing foreground load is the only way to give snapshots room to complete without degrading user queries.

Prevention

  • Monitor raftlog_behind proactively. This is the precursor signal. Sustained elevation on any single node means that node is at risk of triggering snapshot storms. Investigate before snapshots begin.
  • Track snapshot rate as a baseline metric. Know what zero looks like in your cluster. Any deviation should be attributable to a known operational event.
  • Ensure disk I/O headroom. Compaction throughput should be at least 2x sustained write ingestion rate. Without this headroom, snapshot ingest will tip the node into LSM compaction debt.
  • Size nodes for their range count. A node with 50,000 ranges needs substantially more CPU for Raft ticking alone than a node with 5,000. Heterogeneous node sizes create imbalances where smaller nodes become chronic laggards.
  • Watch for range count growth. As data grows, range count grows proportionally. Plan node additions before per-node range count exceeds 50,000.
  • Validate recovery behavior during maintenance. During planned decommissioning or rolling restarts, watch range_snapshots_generated and ranges_underreplicated. If recovery is too slow or too aggressive, adjust rate limits before it becomes an incident.

How Netdata helps

  • Per-second metric resolution on raftlog_behind, range_snapshots_generated, and range_snapshots_applied_initial lets you see the onset of a snapshot storm in real time, not minutes after it begins.
  • Per-store dashboards for storage_l0_sublevels and storage_write_stalls show immediately when snapshot ingest is causing secondary storage pressure on the receiving node.
  • Correlation across nodes lets you identify the single lagging node and its disk, CPU, and network metrics in one view, rather than grepping through per-node Prometheus endpoints during an incident.
  • Anomaly detection on raftlog_behind can surface a node trending toward snapshot territory before the rate spikes, giving you the warning window that static threshold alerting often misses.
  • Inter-node RPC latency dashboards help distinguish network-caused lag from disk-caused lag, which determines whether the fix is infrastructure or node-level.

Netdata’s CockroachDB monitoring with Netdata brings these signals together with per-second metrics and anomaly detection.

The Netdata solution

CockroachDB monitoring with Netdata

Netdata monitors CockroachDB with per-second metrics and automatic dashboards. Watch LSM compaction, Raft liveness, clock skew, hot ranges, and intent buildup so the distributed-systems failure modes in these runbooks surface early.