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 / nats / nats-route-slow-consumer ▌

Operations Guides

NATS route slow consumer: inter-server forwarding backing up cluster-wide

Your NATS server’s slow_consumer_stats.routes counter just went non-zero, or /routez shows a pending_size that keeps climbing on one route. This is not the same problem as a slow client. A route is the TCP connection that carries inter-server traffic between two NATS servers in a cluster. When it backs up, every subscriber reachable through that peer falls behind or stops receiving messages entirely, and in a JetStream cluster the degradation can extend to Raft heartbeat timing and leader stability.

The blast radius difference is the whole story. A slow client affects one application. A slow route affects every account, subject, and JetStream asset whose traffic flows between those two servers. Any sustained non-zero pending_size on a route is concerning, even before the server formally flags it as a slow consumer and closes the connection.

This article covers how to confirm a route slow consumer, identify which route and which side is at fault, and tell a real peer problem apart from a transient event like a rolling restart.

What this means

Each route between two NATS servers is effectively an internal client with its own read/write goroutines and pending write buffer. The server detects a slow consumer two ways: the outbound buffer for the connection exceeds a pending-bytes limit, or a single write to the socket exceeds the write_deadline (default 10s since NATS 2.2; it was 2s before that, which caused frequent false positives during traffic bursts). Since NATS Server 2.14.0, a route also has a write-timeout policy: the default is retry, so a slow route is flagged and retried rather than closed; cluster.write_timeout: close restores close-on-timeout behavior. Before 2.14, a route write deadline closed the connection.

A write-deadline event logs a line of the form:

Slow Consumer Detected: WriteDeadline of 10s exceeded with N chunks of M total bytes

Route behavior then depends on cluster.write_timeout: the default retry in NATS Server 2.14.0 and later keeps the route connected and later logs Slow Consumer State/Slow Consumer Recovered; close, or releases before 2.14, closes the route and lets it reconnect. $SYS.ACCOUNT.<account>.DISCONNECT events include reason, but they cover client/leaf billing events, not route closures; use logs and slow_consumer_stats.routes for routes.

The cascade looks like this:

flowchart TD
  A[Peer server slow to drain route] --> B[pending_size grows on outbound route]
  B --> C{Cause?}
  C -->|Network congestion| D[Route RTT elevated]
  C -->|Peer overloaded| E[Go GC spikes / readloop delays on peer]
  C -->|Traffic asymmetry| F[One direction of route saturated]
  B --> G[write_deadline exceeded]
  G --> H[Route flagged as slow consumer]
  H --> I[All subscribers via that peer degrade]
  H --> J[JetStream: Raft heartbeats delayed - quorum risk]
  H --> K[Default retry keeps route; close mode reconnects]

Two version notes matter here. On NATS 2.10 and later, v2 routes create a pool of route connections between each server pair (default pool_size: 3), with the system account on a dedicated route. That changes what “one route” means: /routez may show multiple route connections per peer, and backpressure on one of them may only affect the accounts pinned to it. Pre-2.10, a single route carried everything, so one slow consumer event blocked all inter-server traffic. Also note the version behavior: nats-server 2.11 and later allow different pool_size values during rolling updates by using the larger effective size; older pooled-route releases require matching values. A pool-index violation is rejected as an “Invalid route pool index” protocol error, and a reload-induced topology change can still close/re-form routes.

Common causes

CauseWhat it looks likeFirst thing to check
Network congestion or degradation between serversRoute RTT elevated from baseline, pending_size grows on one peer direction/routez rtt field per route
Peer server overloaded (GC pauses, CPU starvation)Readloop processing time: Xs warnings in logs before the event; peer mem/cpu elevatedPeer /varz cpu, mem
Rolling restart in progressRoute slow consumer events correlate with a node restarting; peer briefly cannot drain inbound route dataUptime on peer nodes (/varz uptime)
Traffic burst exceeding route capacitypending_size spikes correlate with in_msgs/out_msgs spikes/varz throughput counters vs route pending
Pre-2.2 server with 2s write_deadlineFrequent slow consumer disconnects during normal burstsServer version, configured write_deadline
Service mesh or proxy between cluster membersPersistent low-grade route backpressure with no clear host saturationWhether routes traverse sidecars/LB

Quick checks

All read-only. Run against the server’s monitoring port (default 8222).

# 1. Slow consumer breakdown - is it routes, clients, gateways, or leafs?
curl -s http://localhost:8222/varz | jq '{slow_consumers, slow_consumer_stats}'

# 2. Per-route pending and RTT - which route is backing up?
curl -s http://localhost:8222/routez | jq '.routes[] | {rid, remote_id, ip, rtt, pending_size}'

# 3. Route count vs expected: N-1 pre-2.10; on 2.10+, N-1 multiplied by pool_size per peer pair
curl -s http://localhost:8222/routez | jq '.num_routes'

# 4. Server load on this node
curl -s http://localhost:8222/varz | jq '{cpu, mem, connections, in_msgs, out_msgs}'

# 5. Throughput asymmetry - are messages arriving but not leaving?
curl -s http://localhost:8222/varz | jq '{in_msgs, out_msgs, in_bytes, out_bytes}'

# 6. Uptime - is a restart in progress on this node?
curl -s http://localhost:8222/varz | jq .uptime

Also grep the server log on both ends of the route:

grep -E "Slow Consumer|Readloop processing time" /var/log/nats/nats-server.log | tail -30

Readloop processing time: Xs warnings preceding the slow consumer event point at the read side being delayed, typically a CPU-starved or GC-pausing peer. Values of 8-30s have been observed ahead of route disconnects.

How to diagnose it

  1. Confirm the type. Check slow_consumer_stats in /varz. If routes is zero and clients is incrementing, you have a client problem instead; see NATS connection churn. Route or gateway increments are the cluster-wide case this article covers.

  2. Identify the specific route. Pull /routez and find the route connection with non-zero or growing pending_size. Note its remote_id and IP. On 2.10+, note which pooled connection it is and, if accounts are pinned, which account it carries.

  3. Determine the direction of fault. Route pending on server A means A cannot flush data to server B. The fault is on B’s read side, the network between them, or both. Log into B and check its cpu, mem, and log for readloop warnings. If B is healthy, suspect the network path.

  4. Check route RTT against baseline. Same-datacenter routes should be well under 5ms; under 1ms is typical. A sustained increase from baseline is the precursor signal. Brief RTT spikes from Go GC on either end are normal; sustained elevation is not.

  5. Rule out maintenance. Correlate event timestamps with rolling restarts or config reloads. A restarting node temporarily cannot drain inbound route data, and its peers legitimately report it as a slow consumer. If events only occur during deploy windows, that is your answer.

  6. Check JetStream impact. If this is a JetStream cluster, check the meta cluster: curl -s http://localhost:8222/jsz | jq '.meta_cluster | {leader, replicas: [.replicas[]? | {name, current, offline, lag}]}'. Route slow consumer events have been observed cascading into “JetStream cluster no metadata leader” via lost Raft heartbeats. If the meta leader is changing or peers are non-current, treat this as urgent.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
slow_consumer_stats.routes (/varz)Count of route slow consumer events; the definitive cluster-impact indicatorAny positive rate of change
pending_size per route (/routez)Leading indicator; backpressure builds before the server disconnectsAny sustained value > 0
Route rtt (/routez)Precursor from network congestion or GC spikes on either endSustained increase from baseline
in_msgs vs out_msgs (/varz)Route backlog shows as delivery falling behind ingressout_msgs dropping relative to in_msgs
Peer cpu/mem (/varz)GC pauses and CPU starvation on the peer slow its read sideCPU > 90% sustained; monotonic mem growth
meta_cluster leader and replica state (/jsz)Route instability cascades into RaftLeader changes, offline or non-current replicas
uptime per node (/varz)Correlates slow consumer events with restartsUnexpected resets near event timestamps

Note that pending_size and pending_bytes are point-in-time snapshots. A spike can appear and clear between scrapes, so scrape at 10-15s or better and alert on sustained values, not single samples.

Fixes

Overloaded peer

If the peer is CPU-starved or GC-thrashing, fix its resource situation: more CPU headroom, memory tuning, or moving load off it. Readloop warnings on the peer are the tell. Do not start by raising write_deadline; that only delays detection of the real problem.

Network congestion

Reduce cross-server traffic or increase path capacity. Route compression (S2) reduces route bandwidth at the cost of CPU; the RTT-based auto mode is available for cluster routes from NATS Server 2.10.0. Verify routes are not traversing sidecar proxies or L7 load balancers; NATS cluster routes need direct persistent TCP connections, and proxies add latency that shows up as false backpressure.

Rolling restart noise

If events only fire during rolling restarts, some operators raise write_deadline modestly (for example from 15s to 20s) to ride out the drain window. Understand the tradeoff: a higher deadline delays detection of genuine slow consumers everywhere. A better long-term fix is slower restarts with drain time between nodes.

Pre-2.2 false positives

If you are running a server older than 2.2, the default write_deadline of 2s causes frequent false-positive route disconnects during normal bursts. Upgrade; the default was raised to 10s in NATS 2.2.0 for exactly this reason.

Pre-2.10 single-route topology

On older clusters, one route carries all accounts including system traffic, so any backpressure blocks everything. Upgrading to 2.10+ gets you pooled routes with a dedicated system account route, which isolates system and JetStream control traffic from application backpressure. On releases before 2.11, all servers must run the same pool_size; from 2.11, rolling updates can use the larger effective size, but coordinate reloads and verify that pooled routes re-form on both ends.

Message loss caveat

When a route slow consumer event occurs, the server does not report how many messages were dropped in flight. Even if pending_bytes later dissipates, delivery past the peer is not guaranteed. For subjects where loss matters, this is the argument for JetStream-backed delivery, where gaps surface as consumer lag and can be replayed. See NATS JetStream consumer lag growing.

Prevention

  • Alert on the precursor, not the consequence. slow_consumers is lagging; the server has already disconnected the route. Alert on any sustained route pending_size > 0 and on slow_consumer_stats.routes rate > 0, with higher urgency than client slow consumers.
  • Baseline route RTT per peer and alert on sustained deviation, not absolute values. Cross-AZ baselines differ from same-rack.
  • Monitor route quality, not just route existence. Route count matching the expected total (N-1 pre-2.10; scaled by pool_size on 2.10+) tells you the mesh is connected; it says nothing about whether the mesh can move traffic. Pending size and RTT are the quality signals.
  • Correlate slow consumer events with deploys in your tooling so rolling-restart noise is auto-annotated and real events stand out.
  • Size peers for their read side. Route backpressure is often the peer failing to drain, so CPU and memory headroom on every node protects the whole mesh, not just that node’s clients.
  • Keep versions current. The write_deadline default increase, the 2.10 slow_consumer_stats breakdown, and pooled v2 routes all materially improve this failure mode.

How Netdata helps

  • Netdata polls the NATS HTTP monitoring endpoints and tracks slow_consumers as a rate, so route slow consumer events show up as discrete spikes you can correlate with everything else on the node.
  • The slow_consumer_stats breakdown by connection type makes the first triage decision (clients vs routes vs gateways vs leafnodes) visible without querying each server by hand.
  • Correlating route events with the server’s own cpu, mem, and throughput charts distinguishes “this server cannot flush” from “the peer cannot drain” without logging into two machines.
  • Per-second collection catches the pending_size build-up transient that a 60s scrape interval would miss entirely.
  • Uptime and connection-churn charts alongside slow consumer events make rolling-restart correlation immediate.