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 / envoy / envoy-retry-policy-tuning ▌

Operations Guides

Envoy retry policy tuning: retry_on, budgets, idempotency, and hedging

Retries are one of the few Envoy features that can make an outage measurably worse. A correctly tuned retry policy absorbs transient failures cleanly. A poorly tuned one multiplies upstream load by 2x-3x during a partial failure and accelerates the collapse it was supposed to mask. This article covers the knobs that matter operationally: retry_on conditions, retry budgets, per_try_timeout, and hedging. It also covers the one thing Envoy cannot decide for you: whether a request is safe to repeat.

Envoy does not retry by default. No retry_on, no retries. Retrying is a contract between you and your upstreams about what is safe to repeat, and Envoy cannot infer that contract from the wire. Everything below assumes you have explicitly chosen retry_on conditions and understand the idempotency implications.

A baseline retry rate under roughly 1% of requests is normal and healthy. If retries become a significant fraction of traffic, the policy is either compensating for a sick upstream or amplifying one. The two situations look similar in dashboards and have opposite fixes.

What it is and why it matters

Retry policy is route-level (or virtual-host-level) configuration that tells Envoy when to re-attempt a failed request, how many times, and how to space those attempts. It interacts with three other systems that each have their own limits:

  1. per_try_timeout, which bounds a single attempt.
  2. The global route timeout, which bounds the entire request including all retries.
  3. The retry budget (or the legacy max_retries circuit breaker), which bounds concurrent retries across the whole cluster.

These interact in non-obvious ways. The global route timeout includes all retry attempts. If the global timeout is 3 seconds and the first attempt takes 2.7 seconds, the retry has 0.3 seconds to complete or fail. per_try_timeout, if set longer than the global timeout, is effectively dead because the overall timeout wins first.

The retry budget is the only thing preventing a retry storm from consuming the cluster. Without a budget, num_retries is per-request, and 1000 concurrent failing requests each allowed 3 retries produces 3000 retry attempts hitting an already-degraded upstream. The budget converts that into a cluster-wide concurrency limit.

How it works

flowchart TD
    A[Request enters retry_policy] --> B[Attempt to upstream]
    B --> C{Outcome}
    C -->|Success| D[Return to client]
    C -->|No retry_on match| E[Return response as-is]
    C -->|Matches retry_on| F{Within num_retries?}
    F -->|No| G[Return last error, URX flag]
    F -->|Yes| H{Retry budget available?}
    H -->|No| I[Drop retry, increment retry_overflow]
    H -->|Yes| J[Exponential backoff with jitter]
    J --> B
    I --> G

retry_on accepts a comma-separated list of conditions. The common ones:

  • 5xx: retry on any 5xx response. Implicitly includes connect-failure and refused-stream, so listing them separately is redundant.
  • gateway-error: retry on 502, 503, 504. Narrower than 5xx.
  • connect-failure: TCP connect failed. Already a subset of 5xx.
  • retriable-status-codes: retry on specific status codes listed in retriable_status_codes. More precise than 5xx.
  • retriable-headers: retry when response headers match configured matchers.
  • reset: retry when the upstream sent a reset (RST_STREAM or connection close).
  • reset-before-request: retry only when the upstream reset before any request headers were sent (added in 1.31.0). This is the safe-to-retry variant of reset because the upstream never saw the request body.
  • refused-stream: upstream refused the stream (HTTP/2 GOAWAY or REFUSED_STREAM).
  • http3-post-connect-failure: retry HTTP/3 connections that fail after the QUIC handshake.

One subtlety operators miss: a 504 produced by the global route timeout is NOT retried by the 5xx policy. The router filter docs state this explicitly. If you want to retry on overall timeout, set per_try_timeout shorter than the global timeout so individual attempts can fail and retry within the global budget.

num_retries defaults to 1, meaning one retry attempt after the original. Many operators assume the default is higher and are surprised by how few retries actually fire.

Retry backoff is exponential with full jitter. The default base interval is 25ms and the max interval is 10x the base (250ms). The base is configurable via the upstream.base_retry_backoff_ms runtime parameter. Without backoff, retries fire as fast as Envoy can send them, which is exactly what you do not want during a partial failure.

The retry budget lives on the cluster’s circuit breaker configuration, not the route. When configured, it overrides the max_retries circuit breaker entirely. The defaults when a budget is explicitly configured:

  • budget_percent: 20% of active requests may be retries.
  • min_retry_concurrency: 3, so small clusters still get a floor of concurrent retries.

If you do not configure a retry budget, the max_retries circuit breaker defaults to 3 concurrent retries for the whole cluster. For any non-trivial cluster, 3 is far too low and legitimate retries get dropped (visible as upstream_rq_retry_overflow). The retry budget is the recommended approach.

Historical note: in versions before 1.18.0, setting retry_budget: {} as an empty message did not activate the budget with defaults (the 1.18.0 changelog notes “retry budgets will now set default values for xDS configurations”). On older versions you must set at least one sub-field explicitly.

Where it shows up in production

The retry storm is the canonical failure mode. It follows a specific shape:

  1. An upstream has a partial failure (20% of requests failing).
  2. retry_on: 5xx fires on those failures, with num_retries: 3.
  3. Retried requests add load to an already-struggling upstream.
  4. The added load causes more failures.
  5. More failures cause more retries.
  6. Within minutes the upstream sees 2x-3x normal traffic, mostly retries, and collapses entirely.

The distinguishing signal is the ratio upstream_rq_total / downstream_rq_total climbing above 1.5. In a pure upstream failure with no retries, the upstream rate stays flat or drops. It only climbs when retries are adding load.

Hedging makes this worse. The hedge policy only supports hedge_on_per_try_timeout, and it defaults to false. When enabled, a per-try timeout triggers a second attempt in parallel rather than canceling the first. The original timed-out attempt stays alive. The first good response wins. This is good for tail latency in the steady state and bad for load during degradation, because now one logical request can consume two upstream slots indefinitely.

The other production trap is retrying non-idempotent requests. Envoy cannot tell whether a POST to /charge is safe to repeat. If retry_on fires on a 503 returned after the upstream committed a side effect, the client gets a duplicate operation. This is the operator’s responsibility: only enable retries on routes whose upstreams tolerate repetition, or scope retry_on to conditions that guarantee the upstream never saw the request. reset-before-request is the strongest such condition because it only fires when the reset happened before headers were sent upstream.

One more production gotcha: the x-envoy-retry-on request header can override the route’s retry_on value. The header defines its own retry policy and is honored even when the route has no retry_policy; all retries are additionally gated by the runtime key upstream.use_retry (enabled by default). When honored, a client (or a misconfigured upstream proxy) can inject retries you did not plan for. If you see retry volume you cannot explain from your route config, check whether downstream callers are sending retry headers.

For gRPC workloads, retries are configured via retry_on plus x-envoy-retry-grpc-on semantics. The gRPC retry decision is made in the response-headers phase only: gRPC status codes carried in trailers never trigger retry logic (router filter docs state this explicitly), so a trailers-only grpc-status failure is counted as an error but is not retried.

Tradeoffs and when to use it

DecisionTradeoff
retry_on: 5xx vs gateway-error5xx is broader and catches more, including 500s from application bugs that will never succeed on retry. gateway-error limits to 502/503/504, which are more likely infrastructure-transient.
num_retries: 1 vs 3More retries absorbs more transient failures but multiplies load during partial failures. 1 is the safe default. 3 is aggressive.
Retry budget vs max_retriesBudget scales with traffic (20% of 10000 rps is 2000 retry slots). max_retries is a fixed cap that is either too low at peak or too high at idle. Budget is the recommended approach.
per_try_timeout set vs unsetUnset means each attempt can run up to the global timeout, leaving no room for retries. Set it shorter than the global timeout so retries actually have time to complete.
Hedging on vs offHedging improves P99 in the steady state by racing a slow attempt against a fresh one. It inflates upstream load during degradation because the original attempt is not canceled. Use only on idempotent reads.
retriable-status-codes on 503Lets you retry specifically on 503 (often infrastructure-originated) without retrying 500/501 (often application bugs). More precise than 5xx.

The unifying principle: retry budgets make most other knobs safer. With a tight budget, even an aggressive num_retries cannot amplify load beyond the budget cap. Without a budget, every per-request setting is a potential amplifier.

A reasonable production starting point for an idempotent read path: retry_on: "gateway-error,reset,connect-failure", num_retries: 1, a per_try_timeout at roughly half the global route timeout, and a retry budget of 20%. This absorbs transient infrastructure failures without giving a partial outage room to amplify.

Signals to watch in production

SignalWhy it mattersWarning sign
upstream_rq_retry / upstream_rq_totalFraction of requests that needed at least one retry. Healthy baseline is under 1%.Sustained above 10% indicates either a sick upstream or an over-aggressive policy.
upstream_rq_retry_success / upstream_rq_retryRetry effectiveness. Are retries actually recovering requests?Below 50% means retries are adding load without helping.
upstream_rq_retry_overflowRetries dropped because the budget or max_retries circuit breaker is full.Any sustained nonzero value means the system wanted to retry but could not.
upstream_rq_total / downstream_rq_totalRetry amplification ratio. Should be near 1.0.Above 1.5 is meaningful retry activity. Above 2.0 is a retry storm.
upstream_rq_per_try_timeoutIndividual attempts hitting per_try_timeout (documented retry stat).Correlate with hedge_on_per_try_timeout to understand hedging load.
circuit_breakers.default.rq_retry_openRetry circuit breaker is open.1 means the cluster is rejecting retries entirely.

The upstream_rq_retry_backoff_exponential and upstream_rq_retry_backoff_ratelimited counters show which backoff strategy is in use, which is useful when verifying config changes landed.

Response flags in access logs add the “why” behind these counters. The URX flag means upstream retry limit was exceeded. The UT flag means upstream request timeout. These are access-log only, not aggregate stats, so you need a log pipeline to alert on them.

How Netdata helps

  • Correlate upstream_rq_retry with upstream_rq_5xx on the same cluster. If retry rate tracks error rate with a lag, retries are reacting to failures. If retry rate climbs independently, the policy is mis-scoped or a client is injecting retry headers.
  • Track the upstream_rq_total to downstream_rq_total ratio as a single derived signal. This is the cleanest retry-amplification indicator and it is not a native Envoy stat.
  • Watch upstream_rq_retry_overflow alongside circuit_breakers.default.rq_retry_open. The first shows retries being dropped, the second confirms the budget is the cause.
  • Pair upstream_rq_retry_success with upstream_rq_retry to surface retry effectiveness. Low effectiveness during an incident is a signal to reduce num_retries or tighten retry_on, not increase them.
  • Monitor upstream_rq_per_try_timeout when hedging is enabled. Per-try timeouts are the only hedging trigger, so this stat directly predicts hedge-induced load.
  • Use per-second granularity to catch the leading edge of a retry storm before the budget saturates. Retry storms develop over tens of seconds, not minutes.