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-response-time-rtime-high

Operations Guides

HAProxy response time (rtime) climbing: slow backends behind the proxy

Your HAProxy dashboards show rtime creeping up on one or more backends. Clients have not started timing out yet, or maybe they just have. HAProxy itself looks fine: CPU is reasonable, no servers are DOWN, error rates are flat or only slightly elevated. But the average time between HAProxy forwarding a request and the backend’s first response byte is growing, and it is not coming back down.

rtime measures server processing time as the proxy sees it: request sent, first response byte received. When it climbs, the application behind the proxy is slowing down. The usual suspects are database queries, downstream dependency latency, resource contention, GC pauses, or thread pool exhaustion on the backend.

The trap is that rtime is a rolling average over the last 1024 requests, and it has a dangerous blind spot: a backend returning instant HTTP 500s shows low rtime. Fast errors look healthy in this metric. This guide walks through confirming the slowdown is real, isolating which server is slow, and ruling out the cases where rtime is lying to you.

What this means

HAProxy exposes four timing averages per backend and per server: qtime (queue wait), ctime (TCP connect to server), rtime (server processing), and ttime (total session time). The decomposition is the diagnostic tool:

ttime ≈ qtime + ctime + rtime + data transfer time

When rtime climbs while qtime and ctime stay flat, the time is being spent inside the backend application. HAProxy is dispatching requests promptly and connecting quickly; the server is just taking longer to answer.

Two properties of rtime matter before you act on it:

  1. It is a rolling average over 1024 requests. Brief spikes get smoothed away, and a slowly rising average means the slowdown has been building for a while. For percentile-level visibility (P95, P99), you need per-request timing from HAProxy logs, not the stats counters.
  2. It times responses, not correctness. A server failing fast with instant 500s produces excellent rtime numbers. A rising rtime with rising 5xx is a genuinely slow backend. A falling rtime with rising 5xx is a backend failing fast, which is a different incident. Always correlate with hrsp_5xx.

In TCP mode, rtime is 0 because there is no HTTP response to time. If you are looking at a TCP-mode backend, use ttime and connection-level signals instead.

Common causes

CauseWhat it looks likeFirst thing to check
Backend application slowdownrtime rising on all servers in the backend, 5xx flat, econ lowBackend app logs and metrics: slow queries, GC, thread pool
Downstream dependency slow (DB, cache, API)rtime rising, then qcur starts climbing as slots are held longerWhich dependency the app calls; its own latency metrics
One slow server in the poolPer-server rtime diverging; one node 3-10x the othersCompare per-server rtime side by side
Resource contention on backend hostsrtime rising gradually, cli_abrt starting to riseBackend host CPU, memory, disk I/O
Backend timeout cascade buildingrtime rising + qcur rising + frontend 504s beginningqcur and qtime on the backend, timeout server margin
Fast-failure misreadrtime low or falling while hrsp_5xx climbsCompare frontend vs backend 5xx rates

Quick checks

These are all read-only against the runtime socket. Adjust the socket path if yours differs.

# Per-server and per-backend rtime: find the slow node
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$1 !~ /^#/ && $2 != "FRONTEND" {print $1"/"$2": rtime="$61"ms"}'

# Decompose latency: queue, connect, response, total
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$1 !~ /^#/ && $2 == "BACKEND" {print $1": qtime="$59"ms ctime="$60"ms rtime="$61"ms ttime="$62"ms"}'

# Queue depth: is the slow backend starting to hold requests hostage?
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$1 !~ /^#/ && $2 != "FRONTEND" {print $1"/"$2": qcur="$3" qmax="$4}'

# 5xx per server: rising 5xx with rising rtime = genuinely slow;
# rising 5xx with LOW rtime = failing fast
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$1 !~ /^#/ {print $1"/"$2": 5xx="$44}'

# Connection errors and retries: is the network actually fine?
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$1 !~ /^#/ && $2 != "FRONTEND" {print $1"/"$2": econ="$14" wretr="$16" wredis="$17}'

# Client aborts: are users already giving up?
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$1 !~ /^#/ && $2 != "FRONTEND" {print $1"/"$2": cli_abrt="$50" srv_abrt="$51}'

CSV column indices above follow the documented show stat field order (qcur=3, qmax=4, econ=14, wretr=16, wredis=17, hrsp_5xx=44, cli_abrt=50, srv_abrt=51, qtime=59, ctime=60, rtime=61, ttime=62). The header line (# pxname,svname,...) in your own show stat output is the ground truth; count against it before scripting around these fields, especially on older HAProxy versions.

How to diagnose it

flowchart TD
  A[rtime rising] --> B{All servers or one?}
  B -->|One server high| C[Inspect that node: host CPU, memory, disk, app logs]
  B -->|All servers high| D{Shared dependency?}
  D -->|DB / cache / API slow| E[Fix or shed load on the dependency]
  D -->|No obvious dependency| F[App-level contention: GC, thread pool, I/O]
  A --> G{hrsp_5xx rising too?}
  G -->|rtime LOW + 5xx high| H[Fast-failure: backend broken, not slow]
  G -->|rtime high + qcur rising| I[Timeout cascade building: act now]

Work through it in this order:

  1. Confirm the shape of the slowdown. Pull qtime, ctime, rtime, ttime for the backend. If the increase is almost entirely in rtime, the backend application is the problem. If qtime is also climbing, slow servers are holding connection slots and the queue is building: you are further along the failure curve than the average alone suggests. If ctime is the component that moved, this is a network or server-accept problem, not application processing; see the connect-time path instead.

  2. Compare per-server rtime. One node at 3-10x the others points at a host-level problem on that node: a bad disk, a noisy neighbor, a stuck GC, a half-failed deploy. All servers rising together points at something shared: the database, the cache tier, an external API, or a code deploy that made everything slower.

  3. Correlate with 5xx before trusting the number. Compare frontend and backend 5xx rates. If backend 5xx is rising alongside rtime, the application is slow and erroring: classic overload or dependency failure. If backend 5xx is rising while rtime stays low or falls, the application is failing fast, and this article’s symptom is actually the “health check green, app broken” pattern: see HAProxy health checks green but the application is broken.

  4. Check whether the cascade has started. The backend timeout cascade signature is: servers still UP, econ low, rtime climbing, qcur climbing, frontend 504s beginning. If you see qcur > 0 and rising alongside the rtime increase, treat it as an active incident, not a trend. Each slow response holds a server connection slot longer, which reduces effective capacity, which makes queueing worse. See HAProxy backend queue building (qcur).

  5. Check the masking signals. Rising wretr/wredis with flat user-facing errors means HAProxy is compensating for intermittent backend instability and you are seeing the early stage. Rising cli_abrt means clients have already noticed and are disconnecting before responses arrive; that is a leading indicator of user impact and often moves before error rates do.

  6. Drop to the logs for percentiles. The 1024-request average hides tail latency. HAProxy log lines carry per-request timing fields — in HTTP mode the five control points TR/Tw/Tc/Tr/Ta (request headers, queue, connect, response headers, total), with additional Th/Ti/Tq measures for handshake, idle, and end-to-end request time — which let you compute P95/P99 and see whether all requests got slower or a subset (one endpoint, one tenant) is dragging the average.

  7. Move to the backend hosts. At this point HAProxy has told you everything it can: which backend, which server, how slow, whether the network is fine. The remaining investigation is on the application side: slow query logs, GC logs, thread pool metrics, disk latency, downstream call latency.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
rtime (per server and backend)Direct measure of backend processing time> 2x rolling baseline, or > 50% of timeout server
qtime / qcurShows slow backends starting to hold requests hostageAny sustained nonzero value
ctimeRules the network in or outRising together with rtime means compounding problems
ttimeEnd-to-end check on the decompositionttime rising much faster than rtime points at queue or transfer, not the app
hrsp_5xx (frontend vs backend)Separates app errors from HAProxy-generated errors; catches fast-failureBackend 5xx rising with rtime = overload; with low rtime = failing fast
cli_abrtUsers giving up: leading indicator of perceived impactSustained rate climbing alongside rtime
wretr / wredisHAProxy masking backend instabilitySustained nonzero rate (> ~1% of requests)
econConfirms servers are reachable (they should be, in a pure rtime incident)Any sustained nonzero rate changes the diagnosis

Fixes

One slow server

Drain it and investigate off the critical path. Use the runtime API rather than letting health checks flap the server in and out:

# Disruptive: stops new sessions to this server. Existing sessions finish.
echo "set server <backend>/<server> state maint" | socat unix-connect:/var/run/haproxy.sock stdio

# Softer alternative: drain mode, only for cases where you want to keep
# persistent connections alive while shifting new traffic away.
echo "set server <backend>/<server> state drain" | socat unix-connect:/var/run/haproxy.sock stdio

If the node recovers after investigation, bring it back (state ready) and watch its rtime against the pool for at least one full traffic cycle. If per-server rtime diverges again, the problem is on that host, not the application version.

Tradeoff: removing a node concentrates traffic on survivors. Check survivor scur/slim headroom first, or you trade a slow-backend problem for a cascade problem.

Shared dependency slow

This is the most common root cause when all servers degrade together. Options, roughly in order of safety:

  • Shed load: rate-limit or defer non-essential traffic (batch endpoints, exports, reports) until the dependency recovers.
  • Reduce per-server maxconn temporarily to create backpressure and stop connection pile-up on the backends. This converts silent degradation into visible queueing you can manage, and protects the backend from being pushed past the point where it can recover.
  • Fail over or restart the dependency if that is within your operational authority and runbook.

Tradeoff: backpressure moves pain from “everything is slow” to “some requests wait or fail fast.” That is usually the right trade during a cascade, but it is a deliberate choice, not a free fix.

Application-level degradation (deploy, GC, thread pool)

If rtime jumped at a deploy boundary, roll back. Rollback is the fastest fix and the one you will wish you had done first. If the degradation is gradual with no deploy, engage the application team with the per-server rtime data and the log-derived percentiles you collected; “HAProxy says server-side time tripled on all nodes starting at 14:20” is a far better handoff than “the site feels slow.”

Timeout posture while you fix it

timeout server is the safety net: when rtime approaches it, HAProxy terminates the wait and returns 504s. Do not raise it to mask the problem. Raising timeout server during a slow-backend incident lets connections pile up longer, worsens queueing, and delays the 504s that at least free slots. The right direction during an active incident is usually the opposite: tighten admission (per-server maxconn, rate limits) so the backend can recover.

Prevention

  • Alert on rtime as a ratio, not an absolute. Two thresholds work well in practice: rtime > 2x its rolling baseline (catch degradation early) and rtime > 50% of timeout server (margin is thin, escalate). Absolute thresholds are meaningless across services with different normal response times.
  • Always pair rtime with hrsp_5xx in the same alert evaluation. A single “backend slow” alert that does not check error rates will both miss fast-failure incidents and misreport their direction.
  • Watch per-server rtime, not just the backend average. Backend averages hide a single degrading node until it drags the pool.
  • Monitor the masking signals: wretr/wredis and cli_abrt move before user-facing errors do.
  • Set per-server maxconn deliberately so a slow backend creates visible backpressure (qcur, qtime) instead of silently absorbing unlimited concurrency and collapsing. The maxconn hierarchy guide covers how the four levels interact.
  • Compute percentiles from logs on a standing basis. Averages over 1024 requests are a triage tool, not a latency SLO instrument.

How Netdata helps

  • Netdata collects the HAProxy timing family (qtime, ctime, rtime, ttime) per backend and per server at per-second granularity, so you see the divergence between one slow node and the pool as it starts, not after the 1024-request average catches up.
  • Correlating rtime with hrsp_5xx on the same dashboard makes the fast-failure trap visible immediately: latency dropping while errors rise is a distinct, obvious pattern.
  • Queue depth (qcur) and queue time alongside rtime show whether a slow backend has progressed into the timeout-cascade stage, which changes the urgency and the fix.
  • Retry and redispatch counters (wretr/wredis) plus cli_abrt surface the compensation layer: backend instability HAProxy is hiding from users, and the moment users start noticing.
  • ML-based anomaly detection on rtime catches the slow drift case, where the average creeps 20-30% over days and never crosses a static threshold until the backend is in real trouble.
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.