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 / haproxy / haproxy-retries-redispatches-wretr-wredis

Operations Guides

HAProxy retries and redispatches (wretr/wredis): the backend instability nobody watches

Your dashboards are clean. No 5xx spike, latency averages look normal, every backend server is UP. Then the backend falls over in what feels like seconds, and the postmortem shows the application was flapping for six hours before the outage. The warning was there the whole time, sitting in two counters almost nobody charts: wretr and wredis.

These counters record HAProxy’s built-in compensation mechanism at work. When a connection to a backend server fails, HAProxy does not immediately return an error to the client. It retries. If option redispatch is set, it can also give up on the original server and dispatch the request to a different one. From the client’s perspective the request succeeds, possibly a bit slower. From the proxy’s perspective, something in your backend just failed and got papered over.

That papering-over is exactly why retries matter. High retries with zero user-visible errors means HAProxy is successfully masking backend instability. High retries with rising errors means the masking is failing and user impact has begun. The transition between those two states is what makes outages feel sudden: the failure was visible in the retry counters for hours before it reached the error counters. For the broader mental model of how requests flow through HAProxy, see how HAProxy works in production.

What this means

Two cumulative counters on BACKEND and SERVER rows in the stats CSV:

  • wretr (CSV index 15, awk field $16): the number of times HAProxy retried a connection to the same server after a failure.
  • wredis (CSV index 16, awk field $17): the number of times HAProxy redispatched a request to a different server than the one originally selected.

wredis only moves if option redispatch is enabled. Without it, HAProxy burns all of its retry budget on the same server and then errors out. The retries directive controls how many attempts HAProxy makes before giving up; the default is 3.

There are two operational states that matter:

StateWhat the counters showWhat it means
Compensation workingwretr/wredis rising, hrsp_5xx flat, latency slightly elevatedBackend is intermittently failing but HAProxy is hiding it. You have warning time.
Compensation failingwretr/wredis high, hrsp_5xx rising, rtime/qtime climbingRetry budget is exhausted often enough that errors leak through. Users are impacted.

Normally both counters are zero or near-zero. During a rolling deploy you will see brief, expected bumps as servers restart. Sustained retries above roughly 1% of total requests means significant backend instability, whether or not anyone has complained yet.

flowchart TD
  A[Backend intermittent failure] --> B[Connect or response fails]
  B --> C{Retry budget left?}
  C -->|yes, same server| D[wretr +1]
  C -->|redispatch enabled| E[wredis +1, try another server]
  D --> F{Recovered?}
  E --> F
  F -->|yes| G[Client sees success, extra latency]
  F -->|no, retries exhausted| H[5xx returned to client]
  G --> I[hrsp_5xx flat: compensation working]
  H --> J[hrsp_5xx rising: compensation failing]

Common causes

CauseWhat it looks likeFirst thing to check
Backend restarting or OOM-killing intermittentlywretr and econ rising together on one server, chkfail incrementing, lastchg smallBackend host logs, OOM killer in dmesg, container restart count
Rolling deployment or config reload on backendsShort, bounded bursts of wredis that self-resolve, servers cycling DOWN then UPDeploy pipeline timing vs counter increase
Server hitting per-server maxconnRetries correlate with scur at slim on one server, qcur nonzeroPer-server scur/slim in stats CSV
Network instability between HAProxy and backendsRetries spread across all servers in a backend, ctime elevated, econ on many serversctime trend, host network retransmit counters
Health check flapping near the fall thresholdchkfail rising but server stays UP, wretr tracks the failureschkfail rate and last_chk result code
Retry config masking, then amplifying, a slow backendwredis high, rtime and qtime climbing, latency tail growingWhether retries are hammering already-slow servers

Quick checks

All of these are read-only against the stats socket.

# Retry and redispatch counters per backend and server
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 != "FRONTEND" {print $1"/"$2": wretr="$16" wredis="$17}'
# Correlate with connection errors and response errors
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 != "FRONTEND" {print $1"/"$2": econ="$14" eresp="$15}'
# Which servers are flapping: status, check failures, time since last change
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 != "FRONTEND" && $2 != "BACKEND" {print $1"/"$2": status="$18" chkfail="$22" chkdown="$23" lastchg="$24"s"}'
# Is the backend queueing as a side effect of slow, retried requests?
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 != "FRONTEND" {print $1"/"$2": qcur="$3" qtime="$59"ms rtime="$61"ms"}'
# Confirm whether redispatch is even possible in the running config
grep -E "redispatch|retries|retry-on" /etc/haproxy/haproxy.cfg

Two things to note when reading these numbers. First, wretr and wredis are cumulative and reset to zero on every reload, so compute deltas or rates before comparing anything. Second, the retry-to-request ratio is what matters: divide the retry delta by the request delta over the same window. Absolute counts are meaningless across backends with different traffic volumes.

How to diagnose it

  1. Establish the rate, not the count. Sample wretr and wredis twice, 60 seconds apart, and compute the delta per server. Compare against the request volume delta for the same backend. Anything sustained above ~1% of requests is significant instability.

  2. Identify the blast radius. Are retries concentrated on one server, or spread across the whole backend? One server points at that host (restarts, OOM, saturation). The whole backend points at something shared: network path, a common dependency causing timeouts, or per-server maxconn everywhere.

  3. Pair with econ and eresp. wretr rising with econ means HAProxy cannot connect: refusals, timeouts, resets. wretr rising with eresp means it connects but the response breaks. These are different failure modes with different fixes. The distinction is covered in the signal correlation rules of the HAProxy monitoring checklist.

  4. Check the flapping evidence. chkfail incrementing on a server that still shows UP means health checks are failing below the fall threshold. Real traffic is hitting a server that is already failing probes. last_chk tells you how the check is failing (connection refused vs timeout vs wrong status).

  5. Check whether compensation is holding. Compare frontend hrsp_5xx against backend hrsp_5xx. If the frontend error rate is still flat while retries climb, HAProxy is absorbing the problem and you have time. If frontend 5xx is climbing with the retry rate, the retry budget is being exhausted and the incident has already started for users.

  6. Check for retry-amplified latency. Retries add delay. Watch qtime and rtime: if they are climbing alongside retries, the compensation mechanism itself is degrading the user experience even while it hides errors. Retried requests against an already-slow backend also hold connection slots longer, which feeds the queue. See HAProxy backend queue building (qcur) for that failure mode.

  7. Verify the retry configuration matches your assumptions. Confirm option redispatch is actually set if you expect wredis to move, and check the configured retries count. A backend where you assumed redispatch was active but is not will show wretr climbing and errors arriving earlier than expected.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
wretr rate per serverSame-server retry volume; the raw instability counterSustained nonzero, or > 1% of that server’s requests
wredis rate per backendCross-server redispatch; shows failover is happening under loadRising trend outside deployment windows
econ rateConnect failures that trigger retriesRising alongside wretr
eresp rateBroken responses, a different root cause classRising alongside wretr with flat econ
chkfail / chkdownHealth check flapping that predicts traffic-side failureschkfail climbing while status stays UP
rtime / qtimeLatency cost of the compensation itselfClimbing in step with retry rate
Frontend minus backend 5xx deltaHAProxy-generated errors when retries exhaustDelta rising from zero
lastchg per serverRecent status transitionsSmall values correlating with retry bursts

Fixes

There is no “fix the retries” knob. The counters are the messenger. Fixes target the cause.

Backend restarting or crashing

Fix the restart loop: memory limits, application crash cause, deploy health. This is the most common root cause of a sustained wretr trend on a single server. Do not tune HAProxy retry settings to hide it; you are trading warning time for a harder failure later.

Per-server maxconn too low for the workload

If retries cluster on servers sitting at scur = slim, HAProxy is refusing new connections to full servers and retrying. Raise per-server maxconn to what the application can actually sustain, or add capacity. Raising maxconn without understanding backend capacity trades backpressure for overload. See the maxconn hierarchy guide.

Retry configuration not doing what you think

Several configuration behaviors routinely surprise operators:

  • Without option redispatch, there is no failover to another server. HAProxy retries the same server up to the retries count, then errors. If you expect wredis to be nonzero and it is pinned at zero during failures, this is why.
  • Redispatch timing is tunable. The optional interval argument to option redispatch controls when the redispatch happens within the retry sequence. A positive value P redispatches on every Pth retry, a negative value -N redispatches on the Nth retry before the last, and the default -1 preserves the historical behavior of redispatching only on the final retry. option redispatch 1 therefore redispatches on every retry; 0 disables redispatch.
  • retry-on replaces the default, it does not extend it. On HAProxy 2.0 and later, setting retry-on 503 504 without including a connection-failure condition such as conn-failure means connection failures stop being retried. If wretr mysteriously drops to zero after a config change while econ keeps rising, check for this.
  • Non-idempotent requests are not retried by default. Layer-7 retries do not fire for methods like POST unless you explicitly allow it, because replaying a POST can duplicate side effects. That is the safe default. In the configuration manual’s own terms, retry-on defaults to conn-failure only, so layer-7 conditions such as empty-response, junk-response, response-timeout, or any status-code keyword never fire for a request whose method has side effects unless an operator opts in; the manual explicitly warns against retry-on values beyond conn-failure and none unless the application has replay protection.

Network instability to backends

If retries spread evenly across servers with elevated ctime, the path is the problem: packet loss, congestion, an overloaded middlebox. Fix the path, not the proxy.

Rolling deployments

Do not “fix” expected retry bursts during deploys; suppress alert noise instead. Deploy windows should be annotated so a retry spike during a rollout is evaluated differently from the same spike at 3 a.m.

Prevention

  • Chart the counters, not just the errors. Add wretr and wredis rates per backend to the standard HAProxy dashboard. This is a Level 3 maturity signal for a reason: it converts a sudden outage into a multi-hour warning. See the monitoring maturity model.
  • Alert on the ratio, with compensation state. Alert when retry rate exceeds ~1% of requests sustained. Escalate severity when the retry rate is high AND frontend 5xx is rising: that is compensation failing.
  • Baseline around deploys. Know your normal retry envelope during rollouts so deviations stand out.
  • Test the config assumption once. Trigger a controlled backend failure and confirm wredis actually increments. Many teams discover mid-incident that option redispatch was never set.
  • Correlate with capacity signals. Retries that track per-server scur/slim saturation are a capacity problem wearing an instability costume. See scur approaching slim and backend losing servers.
  • Handle counter resets in your monitoring. Every reload zeroes wretr and wredis. Rate calculations must detect resets or you will see phantom drops and phantom spikes. Uptime_sec from show info is the standard reset detector.

How Netdata helps

Netdata’s HAProxy collector pulls the stats CSV continuously, so the retry story is visible without manual socket queries:

  • Per-server and per-backend wretr/wredis rates rendered as deltas, so cumulative counter resets on reload do not corrupt the trend.
  • Side-by-side correlation with econ, eresp, and per-server status, which is how you split “cannot connect” from “response broke” without leaving the dashboard.
  • Retry rate next to hrsp_5xx on the same backend, making the compensation-working vs compensation-failing distinction a visual one.
  • Retry rate overlaid with qtime/rtime, exposing the latency tax that compensation charges even when it hides every error.
  • Per-second granularity that catches short flapping bursts that minute-resolution scrapers average away.
The Netdata solution

HAProxy load balancer monitoring with Netdata

Netdata monitors HAProxy with per-second frontend, backend, and queue metrics plus ML-powered anomaly detection. Correlate maxconn saturation, queue buildup, health-check cascades, 5xx attribution, and file-descriptor exhaustion against the backend and host signals behind them, so you catch the incidents in these runbooks before they page anyone.