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-slow-consumer-detected ▌

Operations Guides

NATS slow consumer detected: the write buffer overflowed and messages were dropped

Your NATS server log shows Slow Consumer Detected, or your client logged nats: slow consumer, messages dropped. In core NATS (no JetStream), that line means messages were dropped. Not queued, not retried, not parked somewhere for later.

The server buffers outbound messages per connection, and when a subscriber cannot drain its write buffer fast enough, the server sheds load by dropping messages for that subscriber or disconnecting it outright. Delivery in core NATS is at-most-once, and the slow subscriber is not told what was lost.

The server is doing the right thing: enforcing backpressure so one stalled connection cannot drag down the whole routing engine. The fault is almost always on the other end of the connection: a consumer that cannot keep up, a network path that cannot drain the socket, or a cluster route backing up.

What this means

Every client TCP connection to a NATS server gets dedicated read and write goroutines. The write side maintains a pending buffer: messages matched to that connection’s subscriptions are staged there until the kernel accepts them on the socket. Two limits govern this buffer: an internal pending-bytes limit, and write_deadline (default 10s), which caps how long the server will wait for a slow socket write before giving up.

When the buffer exceeds its limit, the server flags the connection as a slow consumer. For client connections the default outcome is that pending messages are dropped and, depending on version and configuration, the connection may be closed. On the client side, libraries expose this through an asynchronous error callback (nats.ErrSlowConsumer in the Go client) which fires before the server acts, giving the application a chance to log or react. Client libraries also enforce their own subscription pending limits (default 500,000 messages or 64 MB per subscription in current Go client releases) and will drop messages client-side when those are exceeded.

Two facts change the blast radius significantly:

  • Slow consumers happen on all connection types, not just clients. Routes, gateways, and leaf node connections each have their own buffers and can be flagged. A slow route means inter-server message delivery is backing up, which is a cluster-wide problem, not a single application problem.
  • Pull-based JetStream consumers pace themselves by explicitly requesting messages, but their requested deliveries still ride a core NATS subscription, so a blocked subscriber can still build a write backlog. JetStream push consumers are not immune: they ride on a core NATS subscription and can be flagged like any other subscriber.
flowchart TD
  P[Publisher] --> S[NATS server routing]
  S --> B[Per-connection write buffer]
  B -->|client drains fast enough| C[Subscriber receives messages]
  B -->|buffer exceeds limit| SC[Slow consumer flagged]
  SC -->|core NATS| D[Messages dropped - permanent loss]
  SC -->|default action| X[Connection disconnected]
  X --> R[Client auto-reconnects and resubscribes]
  R -->|backlog still there| SC

Common causes

CauseWhat it looks likeFirst thing to check
Consumer application blocked or overloadedOne or a few connections with high pending_bytes; app doing synchronous I/O (database writes) in the message handler/connz?sort=pending top offenders; app-side processing latency
Consumer GC pause or CPU starvationBursty slow consumer events correlating with app host CPU saturationApp host CPU and GC metrics, connection RTT on /connz
Fan-out too large for one subscriberHigh out_msgs/in_msgs ratio; subscriber receives every message on a broad subjectFan-out ratio from /varz; subscription subjects on /connz?subs=1
Network path congestion between server and consumerElevated rtt on the offending connection; pending_bytes grows during traffic peaksrtt field in /connz; interface saturation on both ends
Route or gateway slow consumerslow_consumer_stats.routes or .gateways non-zero; cluster-wide delivery degradation/routez per-route pending_size and rtt
Rolling restart or cluster churnTransient route slow consumers during a rollout; resolves on its ownUptime across nodes; timing of events vs deploys
Older nats-server version (before v2.6.5)One slow subscriber stalls publishers for up to write_deadline; everything slows downnats-server --version; upgrade to at least v2.6.5

Quick checks

All of these are read-only against the HTTP monitoring port (default 8222).

# 1. Confirm the event and get the breakdown by connection type
curl -s http://localhost:8222/varz | jq '{slow_consumers, slow_consumer_stats}'

# 2. Estimate the current event rate (cumulative counter, so take two samples)
curl -s http://localhost:8222/varz | jq .slow_consumers
sleep 60
curl -s http://localhost:8222/varz | jq .slow_consumers

# 3. Find the worst offending connections right now
curl -s "http://localhost:8222/connz?sort=pending&limit=10" | \
  jq '.connections[] | {cid, name, ip, pending_bytes, subscriptions, rtt}'

# 4. Check route-level backpressure (clustered deployments)
curl -s http://localhost:8222/routez | jq '.routes[] | {rid, ip, pending_size, rtt}'

# 5. Check per-account slow consumer counts (multi-account servers)
curl -s http://localhost:8222/accstatz | jq '.account_statz[] | {account: .name, slow_consumers}'

# 6. Confirm it in the server log (path depends on your deployment)
grep "Slow Consumer" /var/log/nats/nats-server.log | tail -20
# or, on systemd units:
journalctl -u nats-server --since "1 hour ago" | grep "Slow Consumer" | tail -20

# 7. Sanity check server health and uptime (rule out a wider problem)
curl -s "http://localhost:8222/healthz?js-server-only=true"
curl -s http://localhost:8222/varz | jq '{uptime, connections, mem}'

A note on /connz: it is a point-in-time snapshot and can be expensive on servers with very high connection counts. Use limit, sample periodically rather than scraping continuously, and never request full subscription listings (/connz?subs=1 or /subsz?subs=1) on a busy server.

How to diagnose it

  1. Check the breakdown first. /varz slow_consumer_stats splits events into clients, routes, gateways, and leafs. This single field decides your severity. Client-only events are an application problem. Route or gateway events mean inter-server delivery is failing and the blast radius is the whole cluster. Treat those with much higher urgency.

  2. Measure the rate, not the counter. slow_consumers is cumulative since server start. A static non-zero value is history; a positive rate is an active problem. Alert and triage on rate of change.

  3. Identify the offending connection. Use /connz?sort=pending and look at pending_bytes. Pending bytes are the leading indicator: before the server flags a connection as slow, its buffer grows. Transient spikes are normal under bursty load; sustained pending above roughly 1 MB on a client connection is a real problem, and sustained growth into the multi-MB range means a slow consumer flag is imminent. On routes, any sustained non-zero pending_size is concerning.

  4. Decide which side is slow: the app or the network. Look at the connection’s rtt in /connz. Normal RTT with high pending bytes points at the consumer application (blocked handler, GC pause, CPU starvation). Elevated RTT alongside pending bytes points at the network path or an overloaded client host. Remember that NATS RTT is measured via protocol PING/PONG, so a CPU-bound client inflates it too.

  5. Correlate with churn. Compare /varz total_connections growth against the stable connections count. Fast-growing total_connections with a flat connections gauge means clients are flapping: the classic slow consumer death spiral where the server disconnects the client, the library auto-reconnects, the backlog hits immediately, and the cycle repeats.

  6. For JetStream, check the consumer type. If the flagged subscription belongs to a JetStream push consumer, the messages are safe in the stream (they will be redelivered per the consumer’s ack policy), but delivery has stalled. Check num_ack_pending against MaxAckPending via /jsz?consumers=true or nats consumer info. A consumer pinned at MaxAckPending has stopped receiving entirely.

  7. Check the server version. Before nats-server v2.6.5, a single slow subscriber could block the publisher for the full write_deadline, stalling all other subscribers on the same server; v2.6.5 removed that publisher-blocking path. If you are on an affected version, the upgrade is the fix for a whole class of secondary symptoms.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
slow_consumers rate (/varz)The event itself; every increment in core NATS is dropped messagesAny sustained positive rate
slow_consumer_stats breakdown (/varz)Tells you if the blast radius is one app or the whole clusterNon-zero routes or gateways
Per-connection pending_bytes (/connz)Leading indicator; backpressure builds before the flag firesSustained > 1 MB on a client; any sustained value on a route
Per-route pending_size (/routez)Inter-server backpressureSustained non-zero
Connection churn (total_connections delta)Detects the reconnect-disconnect death spiralHigh churn with stable connections
out_msgs vs in_msgs (/varz)Dropping out rate with steady in rate means deliveries are failingout/in ratio falling below expected fan-out
Server mem (/varz)Pending buffers accumulate in memoryMonotonic growth without GC recovery

Fixes

Consumer application is the bottleneck

The most common root cause: the message handler does something slow (synchronous database writes, downstream HTTP calls, serialization) on the receive path, so the client library cannot drain its internal queue. Fixes, in order of preference:

  • Move work off the receive path. Have the handler hand messages to a worker pool or internal queue so the network read loop never blocks.
  • Fix the actual stall: database lock contention, GC tuning, CPU limits on the container.
  • Scale out horizontally. In a core NATS queue group, a slow worker that gets disconnected has its share immediately rerouted to the remaining members, so queue groups give you both capacity and isolation from one bad instance. Messages already sitting in the disconnected worker’s buffer are still lost.

Raising the client library’s pending limits (SetPendingLimits or equivalent) buys buffer headroom but does not fix throughput. If the consumer is structurally slower than the producer, a bigger buffer only delays the drop.

Message volume exceeds what one subscriber can absorb

If the subscriber simply receives more messages than it can process (high fan-out, broad wildcard subscription), reduce what it must ingest: narrow the subscription subjects, shard the workload across queue group members, or split the subject space. Check the fan-out ratio (out_msgs / in_msgs) to confirm the amplification factor before choosing a shard count.

Tuning write_deadline

You can raise write_deadline above the 10s default to tolerate brief stalls. The official documentation’s warning applies directly: be sure you are not just postponing a slow consumer error. A longer deadline means larger buffers, more memory pressure on the server, and the same drop at the end. Tune it only to absorb known, bounded bursts.

Route or gateway slow consumers

This is a different incident. Check route RTT and pending_size on /routez, look for network degradation between the servers (retransmits, saturated links, a noisy-neighbor VM), and verify the peer server is not CPU-starved. Transient route slow consumer events during a rolling restart are expected as routes reconnect and re-converge; a sustained rate outside maintenance windows is not. If you run a service mesh with sidecar proxies on cluster traffic, added proxy latency can cause false slow consumer events on routes.

The messages matter and loss is unacceptable

Core NATS is fire-and-forget. If losing messages is not acceptable, the architectural fix is JetStream: streams persist messages, and pull-based consumers pace themselves so the slow consumer condition does not apply to them. Push consumers still ride core subscriptions and can be flagged, so for loss-sensitive workloads prefer pull consumers, and monitor num_pending and num_ack_pending per consumer as your lag signals.

Prevention

  • Alert on rate, not absolute. slow_consumers is cumulative. Alert on any sustained positive rate, and escalate harder when slow_consumer_stats.routes or .gateways is the source.
  • Monitor the precursor, not just the consequence. Track top-N pending_bytes via sampled /connz?sort=pending and per-route pending_size. You get minutes of warning before a disconnection instead of a log line after the loss.
  • Instrument the client side. Wire the async error callback in your client libraries so nats: slow consumer events land in your application logs with context, and set explicit pending limits rather than inheriting defaults you have never reviewed.
  • Budget memory for buffering. Per-connection buffers live in server RSS. Slow consumer events and rising mem correlate; leave headroom so backpressure does not become an OOM.
  • Keep the server current. Servers older than v2.6.5 carried a write-path behavior that turned one slow subscriber into a server-wide publisher stall.
  • Load-test the slow path. Exercise a deliberately slow consumer in staging so you know your alerts fire, your client callbacks log, and your team recognizes the pattern before 3 a.m.

How Netdata helps

  • Netdata polls the NATS HTTP monitoring endpoints and charts slow_consumers as a rate, so you see the onset of events immediately instead of diffing cumulative counters by hand.
  • Correlating slow consumer events with connection count and churn on the same dashboard separates a one-off stall from the reconnect-disconnect death spiral.
  • Plotting in_msgs against out_msgs next to slow consumer events shows whether deliveries are actually falling behind publishes, and by how much.
  • Memory (RSS) and CPU from /varz on the same node view let you confirm whether buffer accumulation is pressuring the server itself.
  • Long retention on these signals lets you distinguish chronic low-grade slow consumer problems (a capacity issue) from acute spikes tied to deploys or restarts.