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-cluster-route-rtt-high ▌

Operations Guides

NATS route RTT high: inter-server latency that triggers Raft elections

You are looking at a JetStream cluster that keeps electing new leaders. The /jsz meta cluster leader changes every few minutes, stream writes intermittently fail with API errors, and nats server list or /routez shows round-trip times between servers far above what a same-datacenter cluster should produce. Server CPU and memory look fine. Nothing has crashed. Yet the cluster cannot hold a stable leader.

This is the classic signature of elevated route RTT. Cluster routes are the TCP connections over which NATS servers exchange messages, subscription interest, and JetStream Raft traffic. When latency on those connections rises, two things degrade at once: cross-server message delivery slows, and Raft heartbeats start arriving late. Late heartbeats tip followers into starting elections. Sustained high route RTT is one of the leading causes of election storms, and it is routinely missed because teams monitor route existence (“are routes connected?”) but not route quality.

The diagnostic path is short. /routez gives you per-route RTT directly, and the cause is almost always one of a small set: a service mesh sidecar in the path, a noisy-neighbor network, cross-AZ placement you did not intend, or a host-level problem (CPU steal, GC pauses, slow disk) that delays the ping/pong responses RTT is measured with.

What this means

In a NATS cluster, every server maintains a full-mesh TCP route to every other server. Each route carries forwarded messages, subscription interest propagation, and, for clustered JetStream, the Raft protocol traffic for the meta group and every replicated stream and consumer group with peers on that server. The server measures RTT on each route using NATS protocol ping/pong frames and exposes it per route in /routez.

That RTT matters because of how Raft liveness works. Raft leaders send heartbeats roughly every second, and followers start a new election if they go without a heartbeat for a randomized election timeout in the range of a few seconds. If the network path adds enough latency and jitter that heartbeats arrive late, followers conclude the leader is dead and call an election. The election pauses writes for that Raft group. If the meta group leader was also leading several stream Raft groups, those groups elect too, and a single latency problem becomes a cluster-wide flurry of elections.

The disconnection threshold is much higher than the election threshold. Routes ping on the cluster ping_interval (default 2 minutes) but that interval is capped at 30 seconds for route connections; with the default ping_max of 2, an unresponsive route is closed after about 60 seconds. So the dangerous operating zone is wide: RTT can be far below the disconnection threshold and still be wrecking Raft stability. A route can look perfectly “connected” in /varz while elections fire continuously underneath.

flowchart TD
  A[Route RTT elevated
mesh sidecar, noisy network,
CPU steal, GC pauses, slow disk] --> B[Raft heartbeats arrive late] B --> C[Follower election timeout expires] C --> D[New election for meta group
or stream Raft groups] D --> E[Writes pause for affected groups] D --> F[Meta leader change cascades
into stream leader elections] F --> D E --> G[api.errors rising, api.inflight high,
publish and admin timeouts] A --> H[Cross-server delivery latency up
route pending_size growing]

Common causes

CauseWhat it looks likeFirst thing to check
Service mesh sidecar (Istio, Linkerd) in the route pathRTT jumped from <1ms to several ms after mesh rollout; false slow-consumer events on routesIs the nats-server pod injected? Does the route connection traverse the proxy?
Cross-AZ or cross-region placementRTT stable but elevated (1-5ms cross-AZ, higher cross-region); present since cluster buildCompare pod/node topology to zone labels; baseline RTT by peer pair
Noisy-neighbor network or congested fabricRTT elevated and variable; spikes correlate with other workloadsHost network retransmits and interface saturation; VM steal time
CPU starvation or GC pauses on a peerRTT spikes on routes to one specific server; spikes line up with GC or load/varz cpu and mem on that peer; GC pause behavior
Slow disk delaying Raft log writesElections plus high JetStream api.inflight; RTT may be only mildly elevatedOS disk latency and iowait on the JetStream storage path
Clock skew between serversElections with no clear network cause; timers behave inconsistentlyNTP sync state on all cluster members

One nuance on measurement: RTT is measured with protocol ping/pong, so it includes processing delay on both ends, not just wire time. A peer that is CPU-starved or under GC pressure will show inflated RTT even on a healthy network. A single GC-induced spike is not the concern; sustained elevation is.

Quick checks

All of these are read-only.

# Per-route RTT, the primary field for this symptom
curl -s http://localhost:8222/routez | jq '.routes[] | {rid, remote_id, ip, rtt, pending_size}'

# Route count: in an N-server cluster each server should have N-1 routes
curl -s http://localhost:8222/varz | jq .routes

# Meta cluster leader and peer health
curl -s http://localhost:8222/jsz | jq '.meta_cluster | {leader, replicas: [.replicas[]? | {name, current, offline, lag}]}'

# JetStream API pressure: elections show up as rising errors and inflight
curl -s http://localhost:8222/jsz | jq '{api_total: .api.total, api_errors: .api.errors, api_inflight: .api.inflight}'

# Slow consumers broken down by type; routes non-zero is high blast radius
curl -s http://localhost:8222/varz | jq '{slow_consumers, slow_consumer_stats}'

# CPU and memory on each peer, to spot a starved or GC-thrashing server
curl -s http://localhost:8222/varz | jq '{cpu, cores, mem, uptime}'

Check the server logs for election activity. Rapid alternation of “stepping down” and “new leader” entries is the election-storm pattern. Count occurrences over a window rather than eyeballing.

If you have the NATS CLI, nats server list shows route RTT between cluster members in one view, the fastest way to see pairwise latency across the whole cluster. Use nats stream info STREAM --json | jq '.cluster' for per-stream Raft leaders and replica lag.

How to diagnose it

  1. Confirm the RTT elevation is sustained, not a spike. Poll /routez every 10-15 seconds for a few minutes. A single GC pause inflates one sample; a real problem shows sustained elevation. Note which route (which peer pair) is elevated. One bad route points at that server or its network path. All routes elevated on one server points at that server’s host.

  2. Correlate RTT with election events. Take the timestamps of leader changes from the logs and from repeated /jsz meta cluster polls. If elections cluster around RTT spikes, latency is the trigger. If elections happen with flat, low RTT, look at disk I/O or CPU on the leader instead.

  3. Check whether a proxy is in the path. If the cluster runs in Kubernetes with a service mesh, determine whether route connections traverse sidecar proxies. Sidecars add per-hop latency and can buffer or delay packets, which both inflates RTT and produces false slow-consumer events on route connections. In a same-DC cluster where baseline should be under 1ms, even a millisecond or two of proxy overhead per hop is a large relative change. Check slow_consumer_stats for non-zero routes as supporting evidence.

  4. Rule out host-level causes on the peer. For the server on the far end of the slow route, check /varz cpu against cores, memory trend, and uptime. On the host, check steal time (oversubscribed VMs are a classic cause of Raft instability), network retransmits, and disk latency on the JetStream storage path. Raft log writes are latency-sensitive; network-attached storage with variable latency is a leading cause of election storms and can present alongside elevated RTT.

  5. Check clock sync. Raft does not depend on wall-clock agreement, but heartbeat and election timers run on local clocks. Significant skew between servers makes timeout behavior inconsistent. Verify NTP state on all members.

  6. Assess blast radius. List per-stream Raft groups with /raftz and check which streams have non-current or lagging replicas. A meta group flap is disruptive; meta plus several stream groups flapping is a write outage for those streams.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Per-route RTT (/routez rtt)Direct measure of inter-server latency; drives delivery latency and Raft timingSustained >10ms same-DC; any sustained rise from baseline; approaching ping_interval
Route count (/varz routes)A route torn down by missed pings means the partition got worseBelow N-1 for >60s when a full cluster is expected
Route pending_size (/routez)Leading indicator that inter-server traffic is backing upAny sustained non-zero value
Meta cluster leader (/jsz)Leader changes are elections; frequency is the instability metricMore than 1 change per 5 minutes
Replica current/offline/lag (/jsz, /raftz)Shows which peers are falling behind under the latencycurrent=false or offline=true; lag that never resolves
api.inflight and api.errors (/jsz)Elections and slow Raft surface as API pressure and failuresHigh inflight plus rising errors together
slow_consumer_stats.routes (/varz)Route slow consumers mean inter-server delivery is failingAny non-zero value, especially alongside mesh sidecars
Server cpu and mem (/varz)CPU starvation and GC pauses inflate RTT and delay heartbeatsSustained >90% CPU; monotonic memory growth

Fixes

Remove the proxy from the route path. If sidecars are the cause, exclude NATS cluster traffic from mesh interception. NATS speaks its own TCP protocol over persistent connections; L7 proxy features buy you nothing on routes and cost latency and false slow-consumer detection. How you exclude a port or pod from interception is mesh-specific, so follow your mesh’s documentation. Tradeoff: you lose whatever mTLS and telemetry the mesh was providing on those connections, so supply TLS for routes through NATS configuration instead if you need encryption in transit.

Fix placement. If servers landed in different zones or regions unintentionally, reschedule them so cluster members sit where your latency budget assumes they sit. Same-DC clusters should see sub-millisecond route RTT. If you intentionally run stretch clusters across zones, accept 1-5ms as the floor and treat election frequency as the metric to watch, because your margin before the election timeout is thinner.

Relieve the starved peer. If one server shows inflated RTT to all peers plus high CPU or GC pressure, reduce its load: rebalance stream leaders, move JetStream assets, or give it more CPU. In containers, make sure CPU limits are not throttling the server and that Go’s processor count matches the cgroup limit rather than the host. Raft election timeouts are internal to the server and not exposed as configuration, so you cannot tune your way out of a starved host; you have to fix the resource problem.

Fix the storage path. If disk latency is delaying Raft log appends, move JetStream storage to local SSDs. This requires a planned migration of the affected nodes; do it one at a time so the cluster keeps quorum.

Tune ping_interval only as a last resort, and know what it does. Lowering ping_interval makes dead-route detection faster but does nothing for Raft stability, and raising it to tolerate latency only delays disconnection while elections keep firing. The RTT problem itself is the fix target; NATS does not publish a route-specific recommended value for service-mesh environments, so validate any change against route-loss and election rate on your paths.

Do not restart servers as a first move. A restart triggers elections for every Raft group that had its leader on that node, adding churn on top of the instability you already have. If the storm is fully self-sustaining, a careful rolling restart, one node at a time with quorum confirmed between steps, can break the cycle, but only after you have identified the underlying cause, otherwise it returns.

Prevention

  • Alert on route RTT, not just route count. Scrape /routez rtt per route at a 10-15 second interval and alert on sustained elevation from baseline. Route count only tells you about partitions after the fact.
  • Keep NATS cluster traffic out of the service mesh by policy, so a future mesh rollout does not silently reintroduce the latency.
  • Track meta leader stability as a metric. Elections per hour should be zero in steady state. Any sustained non-zero rate deserves a ticket before it becomes a storm.
  • Watch route pending_size and slow_consumer_stats.routes. These are the leading indicators that inter-server traffic is degrading before RTT alone makes it obvious.
  • Pin cluster members to low-latency placement and local storage. Enforce zone affinity and local SSD for JetStream in your platform templates rather than relying on scheduling luck.
  • Baseline your RTT by peer pair. Cross-AZ pairs have a higher floor than same-rack pairs; alert on deviation from the pair’s own baseline, not a single global number.

How Netdata helps

  • Netdata’s NATS collector polls the monitoring endpoints continuously, so route count, slow consumer counts, and server CPU and memory are charted together at per-second granularity, which lets you line an RTT spike up with a CPU or GC event.
  • Slow consumer tracking, including the breakdown by connection type, surfaces route-level backpressure before it escalates into disconnections and elections.
  • JetStream API totals, errors, and inflight requests are collected from /jsz, so the downstream symptom of elections (API pressure) is visible on the same dashboard as the server-level resource signals.
  • Server uptime and health from /varz and /healthz let you rule out restarts as a confounder when correlating election bursts.
  • Because Netdata also collects host-level metrics (CPU steal, disk latency, network retransmits) on the same nodes, you can correlate an inflated route RTT with the underlying host cause without switching tools.