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-pending-bytes-growing ▌

Operations Guides

NATS pending bytes growing: catching a slow consumer before it is disconnected

By the time slow_consumers in /varz increments, the damage is done. The server has declared a connection slow, and in core NATS the default response is to disconnect it. Messages buffered for that client are dropped, not queued, not retried. The client library auto-reconnects, resubscribes, immediately falls behind on the same backlog, and you are in a churn loop.

The precursor signal is sitting in the monitoring endpoints the whole time. Every connection has a write-side pending buffer you can read before the server gives up on it: pending_bytes per client connection via /connz, and pending_size per route via /routez. Watching these lets you name the specific culprit, a client, a route, or a gateway, while there is still time to act.

What this means

Each client TCP connection to a NATS server gets dedicated read and write goroutines with per-connection buffers. When a publisher sends a message, the routing engine matches it against the subject trie and writes it into every matching subscriber’s write buffer. If a client cannot drain that buffer as fast as the server fills it, pending bytes grow. The server waits, bounded by write_deadline (10s by default), then flags the connection as a slow consumer.

Two operational consequences:

  1. slow_consumers is a cumulative counter of disconnect events. It tells you distress already happened, not that it is coming.
  2. The pending buffer is observable in real time. Rising pending bytes on one connection is the leading indicator, and it gives you a window to intervene before the disconnect, the message loss, and the reconnect churn.

The blast radius depends on the connection type. A slow client loses its own messages. A slow route means inter-server traffic is backing up, which degrades delivery for every subscriber reachable through that route. Routes and gateways are internal connections with their own buffers and can become slow consumers exactly like clients, and when they do the impact is cluster-wide. The slow_consumer_stats breakdown in current upstream /varz separates events into clients, routes, gateways, and leafs for exactly this reason.

flowchart TD
  A[Pending bytes rising on a connection] --> B{Which connection type?}
  B -->|Client| C[>1MB sustained: investigate
>10MB sustained: disconnect imminent] B -->|Route or gateway| D[Any sustained pending:
cluster-wide impact, treat as urgent] C --> E{Spike and clears between scrapes?} E -->|Yes| F[Bursty workload, keep watching] E -->|No, trend is up| G[Fix consumer or shed load
before slow_consumers fires] D --> G

Common causes

CauseWhat it looks likeFirst thing to check
Subscriber application stalled (GC pause, blocked on database, synchronous I/O in handler)One or a few client connections with high and growing pending_bytes, elevated rtt on the same connectionsThe named client’s process health, GC logs, and downstream dependencies
Consumer underscaled for publish ratePending grows steadily on all connections of one subscriber group during traffic peaksPublish rate on the subject vs the consumer group’s processing rate
Route backpressure from network degradation or an overloaded peerNon-zero, growing pending_size on one route in /routez; route slow_consumer_stats incrementingRoute RTT and health of the peer server the route points to
Rolling restart or deployment transientsBrief pending spikes on routes that clear within seconds; a slow consumer event or twoWhether values return to baseline across scrapes; correlate with deploy timing
Client-side pending limits too small for burst loadSlow consumer events on an otherwise healthy client during burstsThe client library’s pending configuration, independent of server-side buffers

The last row deserves emphasis: the server-side write buffer (bounded by write_deadline and internal buffer sizing) and the client library’s own pending limits are two independent buffer boundaries. Operators routinely conflate them. A client can be flagged as slow because its library-side limits tripped even when the server-side buffer looked fine, and vice versa.

Quick checks

All read-only. The monitoring port defaults to 8222 and must be enabled (-m 8222 or http_port: 8222).

# Top 5 client connections by pending bytes, with identity fields
curl -s "http://localhost:8222/connz?sort=pending&limit=5" | \
  jq '.connections[] | {cid, name, ip, pending_bytes, subscriptions, rtt}'

# Per-route pending size: any sustained non-zero value is concerning
curl -s http://localhost:8222/routez | \
  jq '.routes[] | {rid, ip, pending_size, rtt}'

# Slow consumer history and breakdown by connection type
curl -s http://localhost:8222/varz | \
  jq '{slow_consumers, slow_consumer_stats}'

# Connection churn: stable connections with fast-growing total_connections
# means clients are flapping (disconnect/reconnect loops)
curl -s http://localhost:8222/varz | \
  jq '{connections, total_connections}'

# Server memory: pending buffers live in RSS
curl -s http://localhost:8222/varz | jq .mem

For a live view sorted by pending, nats-top -sort pending shows a PENDING column per connection. One timing trap: once the server disconnects the slow client, its pending buffer is gone. If slow_consumers is incrementing but every connection shows pending at zero, you are looking at the aftermath, not the buildup. That is why the trend matters more than any single snapshot.

How to diagnose it

  1. Confirm it is a trend, not a snapshot. /connz and /routez are point-in-time. Bursty workloads spike pending bytes and clear them between scrapes. Poll the top-N connections two or three times, 10 to 15 seconds apart. A value that spikes and clears is normal under load; a value that climbs across consecutive samples is a consumer falling behind.

  2. Identify the connection type. Check slow_consumer_stats first. If events are under routes or gateways, stop thinking about clients. Route and gateway slow consumers have cluster-wide blast radius and need network and peer-server investigation, not application debugging.

  3. Name the culprit client. From /connz?sort=pending, capture the cid, name, ip, and subscription count of the worst connections. The name field is whatever the client set at connect time, which is why requiring a meaningful connection name in every client application pays off during incidents.

  4. Check the client’s RTT. High rtt on the same connection suggests a network path problem or a client host under CPU pressure (the RTT is measured via NATS PING/PONG frames, so a CPU-starved client library inflates it). Normal RTT with growing pending points at the application handler itself: GC, blocking I/O, a slow downstream.

  5. Correlate with throughput and churn. If out_msgs is dropping relative to in_msgs while pending grows, deliveries are backing up. If total_connections is climbing fast while connections stays flat, the disconnect-reconnect spiral has already started.

  6. For routes, check the peer. A route with growing pending_size means the far server cannot keep up or the path between them is degraded. Check route RTT, the peer’s CPU and memory, and whether you are mid-rolling-restart (route slow consumers during restarts are common and usually self-resolve).

Metrics and signals to monitor

SignalWhy it mattersWarning sign
pending_bytes per connection (/connz?sort=pending)Leading indicator; shows backpressure before the server actsClient: sustained >1MB is a problem, >10MB means flagging is imminent
pending_size per route (/routez)Inter-server backpressure, cluster-wide blast radiusAny sustained non-zero value
slow_consumers (/varz)Confirms the server has started enforcing; lagging indicatorAny positive rate of change
slow_consumer_stats (/varz)Tells you if events are clients, routes, gateways, or leafsNon-zero routes or gateways entries
total_connections delta (/varz)Churn detector; reveals reconnect loopsFast growth with a flat connections count
rtt per connection (/connz, /routez)Separates network-path slowness from application slownessHigh RTT on the same connections showing high pending
mem (/varz)Pending buffers consume RSS; a fleet-wide slow consumer event shows up hereMonotonic growth without GC recovery

Collection cost note: polling /connz for every connection at scrape frequency is expensive on servers with high connection counts. The top-N approach (?sort=pending&limit=N) is much cheaper and catches what matters, since you need the worst offender, not the full distribution.

Fixes

The specific client is falling behind

The problem is on the consumer side, not the server. Treat the server as correctly enforcing backpressure.

  • Unblock the application. Look for what the handler is waiting on: a database lock, a slow downstream HTTP call, a GC pause. Synchronous I/O inside the message handler is the classic root cause.
  • Scale the consumer group. If the publish rate grew past what one subscriber can process, add members to the queue group so deliveries spread out.
  • Raise client-side pending limits if the client library’s own limits are tripping before the workload actually warrants it. This buys headroom for bursts; it does not fix a consumer that is structurally too slow, and it trades message loss for memory growth on the client.
  • Shed load deliberately. Disconnecting the slow consumer yourself, or pausing its publishers, beats letting the server do it mid-backlog. In core NATS those buffered messages are gone either way, but a controlled cut avoids the reconnect-into-backlog churn loop.

A route or gateway is backing up

  • Check the path and the peer. Route pending almost always means the remote server is overloaded or the network between the servers is degraded. Fix the peer, not the route.
  • Expect transient route pending during rolling restarts. A common false alarm. If it clears when the restarted peer finishes rejoining, it was the restart.
  • Be cautious raising write_deadline cluster-wide. It can smooth over route slow consumer events during restarts, but it delays detection of genuine slow clients everywhere. That is a real tradeoff, not a free fix.

You only see the aftermath (counter up, pending zero everywhere)

The disconnect already happened. Use the slow_consumer_stats type breakdown plus server logs for the disconnect events, and set up trending on pending bytes so the next occurrence is caught in the buildup phase.

Prevention

  • Trend pending bytes, not just the counter. Alert on a client connection with sustained pending_bytes above 1MB, and page-urgent above 10MB. Alert on any sustained non-zero route pending_size. Sustained means across multiple scrapes, never on a single sample.
  • Require connection names. An unnamed cid at 3 a.m. means guessing which of forty services is drowning. Make every client set a name that identifies the service and instance.
  • Watch churn as a compound signal. total_connections climbing fast with flat connections is the signature of the disconnect-reconnect spiral, and often the first visible symptom when pending-byte alerts were missed.
  • Keep scrapes at 10 to 15 seconds. The monitoring endpoints are snapshots served by a single goroutine. Faster polling adds load and still misses sub-second spikes; slower polling misses the buildup window entirely.
  • Load-test consumer headroom. Know the publish rate at which your consumers start accumulating pending, and alert well below it.

How Netdata helps

Netdata polls the NATS monitoring endpoints and keeps per-second history, which is what turns pending bytes from a snapshot into a trend:

  • Slow consumer counter tracking so the rate of slow_consumers events is visible over time, not just as a number you happened to curl.
  • Throughput correlation: overlaying in_msgs vs out_msgs with slow consumer events shows whether deliveries are backing up while publishes continue.
  • Connection and churn visibility: connections alongside total_connections growth exposes the disconnect-reconnect spiral that follows slow consumer events.
  • Memory correlation: pending write buffers live in the server’s RSS, so a fleet-wide slow consumer event shows up as memory growth; seeing mem climb alongside throughput drops confirms the mechanism.
  • Cluster-wide views: correlating route health and slow consumer events across all servers separates a single bad client from inter-server backpressure.