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-rate-limiting-over-limit-429 ▌

Operations Guides

Envoy rate limiting: over_limit, 429s, and fail-open vs fail-closed

Envoy has two HTTP filters for rate limiting with very different failure characteristics. The global rate limit filter delegates every applicable request to an external rate limit service (RLS) over gRPC. The local rate limit filter applies an in-process token bucket with no external dependency. Both can produce 429 responses, but the signals that tell you what happened live in different stat namespaces and mean different things.

The harder operational question is not “are we rate limiting” but “what happens when the rate limit service itself is down.” That answer is controlled by one setting: failure_mode_deny. Its default is false (fail-open), meaning a broken RLS silently disables rate limiting. Fail-closed (failure_mode_deny: true) instead rejects every request through the filter. A misread here is a common source of incidents.

What it is and why it matters

Two filters, similar names, different mechanics:

  • Global rate limit filter (envoy.filters.http.ratelimit): on every request that matches a rate limit action, Envoy makes a synchronous gRPC call to an external RLS. The RLS evaluates descriptors derived from the request and returns OK or OVER_LIMIT for each. This filter produces the ok, over_limit, error, and failure_mode_allowed counters. It is the only one with fail-open vs fail-closed behavior, because it is the only one that depends on an external service.
  • Local rate limit filter (envoy.filters.http.local_ratelimit): applies a token bucket inside the Envoy process. No external service, no network call, no fail-open decision. Stats live under http_local_rate_limit.*.

The failure modes are completely different. The local filter either has tokens or it does not. The global filter can fail in three ways: the RLS says OK, the RLS says OVER_LIMIT, or the RLS is unreachable. The third case is where operators get burned, because the outcome depends on failure_mode_deny, a single field that is easy to overlook.

How it works

The global rate limit filter

When a request matches a route or virtual host with a rate limit action configured, the global filter builds descriptors from request attributes (source IP, path, headers, and so on) and sends them to the RLS. The RLS responds per descriptor. If any descriptor returns OVER_LIMIT, the request is rejected. The response drives which counter increments and what Envoy returns to the client.

The four counters that matter:

CounterWhen it increments
ratelimit.okRLS returned OK for all descriptors
ratelimit.over_limitRLS returned OVER_LIMIT for at least one descriptor
ratelimit.errorRLS call failed (timeout, unreachable, or returned an error)
ratelimit.failure_mode_allowedRLS failed AND the request was allowed through (fail-open)

The stat prefix depends on filter configuration. Counters appear under http.<stat_prefix>.ratelimit.* where stat_prefix is set on the filter. Grep for ratelimit on the admin endpoint to find them:

curl -s http://localhost:9901/stats | grep ratelimit

When the RLS returns OVER_LIMIT, Envoy sends a 429 by default. The response code is configurable via rate_limited_status; values below 400 are clamped to 429. Envoy sets the x-envoy-ratelimited header on the 429 response unless disable_x_envoy_ratelimited_header is set. For gRPC traffic, the default maps rate-limited calls to the UNAVAILABLE status code. Setting rate_limited_as_resource_exhausted: true switches this to RESOURCE_EXHAUSTED, which is what most gRPC clients expect for rate limiting.

flowchart TD
    A[Request hits global rate limit filter] --> B[Call external RLS]
    B --> C{RLS response}
    C -->|OK| D[Forward to upstream]
    C -->|OVER_LIMIT| E["429, over_limit++"]
    C -->|error or timeout| F{failure_mode_deny}
    F -->|"false: fail-open"| G["Allow, failure_mode_allowed++"]
    F -->|"true: fail-closed"| H["Reject, status_on_error 500"]

The local rate limit filter

The local filter applies a token bucket inside the Envoy process. No external service, no network call. The bucket has a max token count, a tokens-per-fill value, and a fill interval. The token bucket’s fill_interval must be at least 50ms to avoid overly aggressive refills; smaller values are rejected.

Stats live under http.<stat_prefix>.http_local_rate_limit.*: enabled (requests the limiter consulted), ok, rate_limited, and enforced. The distinction between rate_limited and enforced matters. rate_limited counts requests the token bucket rejected. enforced reflects the filter_enforced runtime fraction. If enforcement is set below 100%, some requests that would be rejected are still forwarded, and the two counters diverge.

The critical property of the local filter is that the token bucket is per-worker. Envoy’s worker threads share nothing in the hot path. A limit of 100 rq/s configured on an Envoy with 8 workers allows 800 rq/s total, not 100. If you need a hard global cap, use the global filter with an external RLS, or account for worker count when sizing local limits.

Fail-open vs fail-closed: the failure_mode_deny decision

The global filter’s behavior when the RLS is unreachable is controlled by failure_mode_deny on the filter configuration. The default is false (fail-open).

Fail-open (failure_mode_deny: false, the default): when the RLS call fails, Envoy allows the request through and increments failure_mode_allowed. Rate limiting is effectively disabled for the duration of the outage. This protects availability: a broken RLS does not take down your service. The cost is that any protection the rate limiter was providing (abuse mitigation, tenant isolation, upstream protection) is gone for as long as the RLS is down.

Fail-closed (failure_mode_deny: true): when the RLS call fails, Envoy rejects the request. The response code is controlled by status_on_error, which defaults to 500, not 429. This protects the upstream: if you cannot confirm a request is within limits, you do not let it through. The cost is that an RLS outage becomes a full outage for every route that goes through the filter.

Both are legitimate choices. The mistake is not knowing which one you have. Check the running config to confirm:

curl -s http://localhost:9901/config_dump | grep -A5 -B5 failure_mode_deny

The error and failure_mode_allowed counters tell you which mode is active in real time. During an incident, the difference between “rate limiting is silently off” and “all traffic is rejected with 500s” is one configuration field.

The failure_mode_deny_percent field (added in 1.35.0) allows a runtime-fraction-based mix. With failure_mode_deny: true and failure_mode_deny_percent at 50%, roughly half of requests are denied during an RLS outage and the rest pass through — a load-shedding middle ground for deployments that want partial protection without a hard cliff. If the runtime key is not set, the field’s default value applies; if the field is unset entirely, plain failure_mode_deny behavior wins.

Where it shows up in production

429 spikes that are working as designed

A rising over_limit rate is not necessarily a problem. It means the rate limiter is doing its job. A product launch, a misconfigured client retrying in a tight loop, or a downstream service suddenly doubling its call rate can all produce legitimate over_limit spikes. over_limit needs business context to interpret.

What is worth alerting on is a sudden change in the over_limit / (ok + over_limit) ratio, especially without a corresponding traffic increase. That suggests either a configuration change tightened limits or a client changed behavior.

Error spikes: the RLS is unhealthy

A non-zero error rate means the RLS call is failing. This is the signal that triggers the fail-open vs fail-closed decision. Compute error / (ok + error + over_limit): sustained values above 1% indicate the RLS is unreliable.

Correlate error with failure_mode_allowed. If both are climbing, you are in fail-open mode and rate limiting is disabled. If error is climbing and failure_mode_allowed stays at zero while 500s rise, you are in fail-closed mode and traffic is being rejected.

The per-worker token bucket surprise

The most common local rate limit incident is not a failure but a misreading of capacity. An operator configures a local rate limit of 500 rq/s, deploys to an Envoy running 16 workers, and discovers the actual limit is 8000 rq/s. The upstream they were protecting gets many times the intended load. Always multiply the configured local rate by the worker count (--concurrency flag; the server.concurrency gauge on the admin endpoint, also visible in /server_info command-line options) when reasoning about effective throughput.

gRPC clients and the status code

For gRPC workloads, the status code Envoy returns on OVER_LIMIT determines whether clients back off correctly. UNAVAILABLE, the default, is often treated as a transient error and retried aggressively, which is the opposite of what rate limiting intends. RESOURCE_EXHAUSTED signals to the client that it should slow down. If your gRPC clients honor RESOURCE_EXHAUSTED but not UNAVAILABLE, set rate_limited_as_resource_exhausted: true.

Signals to watch in production

SignalWhy it mattersWarning sign
ratelimit.over_limitRequests the RLS rejected as OVER_LIMITSudden ratio change without a traffic change
ratelimit.errorRLS calls failing (timeout, unreachable, error)Any sustained non-zero rate; check fail-open vs fail-closed
ratelimit.failure_mode_allowedRequests allowed through despite RLS failureNon-zero means rate limiting is silently disabled
ratelimit.okRequests the RLS approvedBaseline for computing ratios
http_local_rate_limit.rate_limitedLocal token bucket rejectionsEffective limit is per-worker; multiply by concurrency
http_local_rate_limit.enforcedRequests actually rejected (vs shadow mode)Divergence from rate_limited indicates enforcement below 100%
RLS cluster health (membership_healthy, upstream_rq_5xx)The RLS is itself an upstreamRLS degradation drives error and failure_mode_allowed
429 response rate (or access log flag RL)Client-visible rate limitingCorrelate with over_limit and rate_limited

Common misuses

  • Not knowing your failure_mode_deny setting. During an RLS outage, this single field is the difference between “rate limiting off” and “all traffic rejected.” The default is false (fail-open). Verify it in config and monitor failure_mode_allowed.
  • Alerting on raw over_limit counts. over_limit is often working as designed. Alert on ratio changes, not absolute counts.
  • Treating local rate limits as global caps. The token bucket is per-worker. A 100 rq/s limit on an 8-worker Envoy is 800 rq/s.
  • Forgetting the gRPC status code. Default UNAVAILABLE may cause client retry storms. Consider rate_limited_as_resource_exhausted for gRPC traffic.
  • Running the RLS as a single point of failure. If the RLS is down, every route through the global filter is affected. The RLS needs its own redundancy and health monitoring.

How Netdata helps

  • Correlate ratelimit.error and ratelimit.failure_mode_allowed against the RLS cluster’s own health (membership_healthy, upstream_rq_5xx) to confirm whether an error spike is the RLS failing or Envoy losing connectivity to it.
  • Track over_limit, ok, error, and failure_mode_allowed as per-second rates with anomaly detection so a shift in the ratio surfaces even when absolute counts look normal.
  • For local rate limiting, chart http_local_rate_limit.rate_limited alongside Envoy worker count to make the per-worker effective limit visible at a glance.
  • Pair 429 response rates with the rate limit counters to distinguish rate-limiter rejections from auth-driven or upstream-driven 4xx.
  • Use the RLS cluster’s own latency histograms (upstream_rq_time) to catch a slow RLS before it trips timeouts and floods the error counter.