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-upstream-connect-error-disconnect-reset-before-headers ▌

Operations Guides

Envoy upstream connect error or disconnect/reset before headers: reading the reset reason

The 503 body upstream connect error or disconnect/reset before headers. reset reason: <reason> means Envoy selected an upstream host, tried to open a request stream on a pooled connection, and the stream was reset before any response headers came back. The body looks generic, but the trailing reset reason: field is the diagnostic payload. It is one of the values in Envoy’s StreamResetReason enum — 14 values in the current source, including ConnectError, ProtocolError, OverloadManager, Http1PrematureUpstreamHalfClose, and RemoteResetNoError — and each value points at a different failure mechanism.

The reset reason usually maps to a single access-log response flag, which is what monitoring pipelines actually surface. ConnectionFailure becomes UF, ConnectionTermination becomes UC, Overflow becomes UO, ProtocolError becomes UPE, the local reset variants become LR, and the remote reset variants (including ConnectError) become UR. The body and the flag are two views of the same event: the body is what the client sees, the flag is what you correlate against cluster stats.

The trap is treating all of these as “upstream is down”. A host refusing TCP connections (UF) has a different root cause and remediation than an idle-timeout mismatch closing sockets mid-flight (UC), or a circuit breaker fast-failing because the per-cluster pool is saturated (UO). The sections below cover how to read the reset reason, map it to the right signal, and stop chasing the wrong subsystem.

What this means

Envoy has already picked a host (this is not the “no healthy upstream” NR/UH case) and attempted to open a request stream on a connection from the per-worker, per-host pool. The reset happened before any response headers arrived.

flowchart TD
  A["503 body:
upstream connect error or
disconnect/reset before headers"] --> B{"Read trailing
reset reason"} B -->|ConnectionFailure| C["UF: TCP connect failed
Check upstream_cx_connect_fail"] B -->|ConnectionTermination| D["UC: socket closed or RST
Check idle timeout, mTLS"] B -->|Overflow| E["UO: circuit breaker tripped
Check cx_open, rq_pending_open"] B -->|RemoteReset / ConnectError| F["UR: upstream sent RST
Check upstream_rq_rx_reset"] B -->|ProtocolError| G["UPE: framing mismatch
Check http2_protocol_options"] B -->|LocalReset| H["LR: Envoy reset locally
Check overload manager, filters"]

Notes that affect how you read it:

  • In access logs, the same event appears as response_code_details = upstream_reset_before_response_started{<reason>} plus the matching flag in %RESPONSE_FLAGS%. Envoy warns that response-code detail strings are not stable across versions; the response flags are.
  • Multiple flags can coexist on a single log line. UC,URX means the upstream closed the connection and the retry budget was also exhausted.
  • The body string and the access-log detail come from the same code path. If you only have the body (a client screenshot, for instance), the reset reason is enough to start the diagnostic.

Common causes

CauseReset reason / flagWhat it looks likeFirst thing to check
Upstream not accepting connectionsConnectionFailure / UFTCP connect fails (RST or refused). Affects one host or the whole cluster.cluster.<name>.upstream_cx_connect_fail and membership_healthy
Upstream closed the socket mid-streamConnectionTermination / UCSporadic 503 at low rates, often during deploys or with HTTP/1.1 keepalive races.Idle timeout on Envoy vs upstream, Connection: close behavior, mTLS strict mode
Circuit breaker trippedOverflow / UOBursts of 503 when latency climbs or traffic spikes. Envoy fast-fails locally.circuit_breakers.<priority>.cx_open, rq_pending_open, rq_open
Upstream sent an explicit RSTRemoteReset, RemoteRefusedStreamReset, ConnectError / URUpstream layer (HTTP/2 GOAWAY, RST_STREAM, refused stream). Often backend-side error or graceful shutdown.upstream_rq_rx_reset, backend logs, deploy windows
Framing or protocol mismatchProtocolError / UPEConsistent failures on a cluster, often after a config push or a backend protocol change.http2_protocol_options, ALPN negotiation, TLS vs plaintext on the upstream
Envoy reset the stream itselfLocalReset, LocalRefusedStreamReset / LREnvoy refused the stream locally: overload manager, filter denial, or local resource exhaustion.Overload manager actions, upstream_rq_tx_reset, filter stats

Quick checks

Run these on a suspect Envoy instance. They are read-only. Use port 9901 for standalone Envoy and 15000 for Istio sidecars.

# Confirm the response flag and detail string for recent 503s.
# Look in the access log path for your deployment. In Istio this is sidecar stdout.
# Sample fields: response_code, %RESPONSE_FLAGS%, response_code_details.

# Is the cluster's host set healthy?
curl -s http://localhost:9901/stats | grep -E 'cluster.<name>.(membership_healthy|membership_total)'

# Are TCP connects actually failing?
curl -s http://localhost:9901/stats | grep -E 'cluster.<name>.(upstream_cx_connect_fail|upstream_cx_connect_timeout)'

# Are resets coming from upstream (rx) or from Envoy (tx)?
curl -s http://localhost:9901/stats | grep -E 'cluster.<name>.(upstream_rq_rx_reset|upstream_rq_tx_reset)'

# Is a circuit breaker currently open?
curl -s http://localhost:9901/stats | grep 'circuit_breakers'

# Is the pending queue saturating?
curl -s http://localhost:9901/stats | grep -E 'cluster.<name>.(upstream_rq_pending_active|upstream_rq_pending_overflow)'

# Per-host view of the cluster (health flags, ejection state).
curl -s http://localhost:9901/clusters?format=json | jq '.cluster_statuses[] | select(.name=="<name>") | .host_statuses[] | {address: .address, health_flags: .health_status}'

# Is the overload manager intervening (LR / local reset path)?
curl -s http://localhost:9901/stats | grep 'overload'

How to diagnose it

  1. Pull the exact reset reason out of the 503 body or access log. The body gives you the trailing string (connection failure, connection termination, overflow, remote reset, protocol error, and so on). If you only have access logs, read %RESPONSE_FLAGS% and response_code_details. Do not proceed without one of these two signals; a raw 503 count is not enough.

  2. Map the reason to a response flag and a subsystem.

    • UF: data plane cannot reach the host. Network, host process, or FD exhaustion on the upstream.
    • UC: a connection that was usable got torn down before the stream completed. Usually idle-timeout mismatch, mTLS renegotiation, or HTTP/1.1 close without Connection: close.
    • UO: Envoy is rejecting locally because the cluster hit a circuit breaker. The upstream may be perfectly healthy but slow.
    • UR: upstream-initiated reset. Backend is shutting down, refusing streams, or sending GOAWAY.
    • UPE: protocol mismatch. Suspect http2_protocol_options, ALPN, or plaintext-vs-TLS on the upstream.
    • LR: Envoy itself refused the stream. Check overload manager actions and filter denials.
  3. Correlate the flag with cluster stats. A flag without a moving counter is a single blip. You want the sustained pattern:

    • UF plus climbing upstream_cx_connect_fail and falling membership_healthy is a real outage.
    • UO plus circuit_breakers.default.cx_open=1 or rq_pending_open=1 plus a growing upstream_rq_pending_active is a slow-upstream / pool-exhaustion cascade.
    • UC plus rising upstream_rq_rx_reset with stable membership_healthy points at connection lifecycle problems, not host death.
    • UPE plus cluster.<name>.ssl.connection_error or ssl.fail_verify_error suggests TLS or ALPN negotiation is wrong.
  4. Decide whether the upstream is actually broken. Cross-check membership_healthy / membership_total and outlier_detection.ejections_active. If hosts are healthy and not ejected, the problem is in the connection lifecycle, the breaker config, or the protocol layer, not the backend dying.

  5. Look at the deploy and config timeline. UC, UR, and UPE clusters often correlate with backend rollouts, mTLS policy changes, or xDS pushes. update_rejected on the cluster is a separate but adjacent failure: Envoy is connected to the control plane but silently NACKing bad config.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
%RESPONSE_FLAGS% from access logsThe only signal that distinguishes Envoy-generated 503s from upstream-forwarded 503s.Any sustained UF, UC, UO, UR, UPE, or LR rate above zero.
response_code_details (upstream_reset_before_response_started{...})Gives the precise reset reason string.A single reason dominating the distribution points at one mechanism.
cluster.<name>.upstream_cx_connect_failCounts TCP connect failures. Strong signal for UF.Failure ratio connect_fail / connect_total > 0.05.
cluster.<name>.upstream_cx_connect_timeoutSYN sent, no SYN-ACK. Distinct from immediate failure.Any sustained nonzero rate.
cluster.<name>.upstream_rq_rx_resetUpstream-initiated resets. Maps to UC/UR.Spikes during deploy windows or with mTLS rotation.
cluster.<name>.upstream_rq_tx_resetEnvoy-initiated resets. Maps to LR and the overflow path.Correlated with circuit_breakers.*.rq_pending_open.
cluster.<name>.circuit_breakers.<priority>.cx_open, rq_pending_open, rq_openBinary gauges that show which breaker is rejecting.Any transition from 0 to 1 sustained.
cluster.<name>.upstream_rq_pending_activeLeading indicator before UO overflow starts.Sustained nonzero value.
cluster.<name>.upstream_rq_pending_overflowRequests fast-failed because the pending queue is full.Any nonzero rate in a healthy system.
cluster.<name>.membership_healthy / membership_totalRatio is the single most important availability signal.Drops below 50% triggers panic routing.
cluster.<name>.outlier_detection.ejections_activeHosts removed from LB by passive health checks.Climbing while membership_healthy is stable suggests real-traffic errors.
cluster.<name>.ssl.fail_verify_error, ssl.connection_errorUpstream mTLS handshake health.Spike correlates with cert rotation or CA change.
server.overload_manager.envoy.overload_actions.*.activeLast-line protection. Explains LR resets.Any active=1 on stop_accepting_requests or stop_accepting_connections.

Note: the upstream_rq_pending_overflow counter is no longer incremented by default for the active-request circuit breaker path in recent Envoy versions. The runtime flag envoy.reloadable_features.skip_pending_overflow_count_on_active_rq controls this (confirmed in the Envoy source and release notes; introduced with the upstream_rq_active_overflow counter in 1.38.0). If you rely on that counter, verify it is still being incremented in your build.

Fixes

Connection failure (UF)

The TCP connect itself failed. The host is not accepting connections: process down, port not listening, FD exhaustion on the upstream, firewall/ACL change, or, in containers, the cluster endpoint points at 127.0.0.1 from inside a network namespace where loopback is not the host’s loopback.

  • Verify the host process is up and listening on the expected port.
  • Confirm security groups, network policies, and ACLs allow Envoy to reach the upstream.
  • For Docker-based Envoy, do not point clusters at 127.0.0.1 unless you are using --network host or referencing sibling containers by service name.
  • Watch upstream_cx_connect_timeout alongside connect_fail. Timeouts (SYN with no SYN-ACK) imply network path issues; immediate failures (RST) imply the port is closed.

Connection termination (UC)

A previously good connection was torn down before the stream completed. Three common patterns:

  • Idle timeout mismatch. Envoy holds an idle pooled connection longer than the upstream’s idle timeout. The upstream closes the socket; Envoy reuses it for a new stream before noticing the FIN, and the stream dies with connection termination. Align Envoy’s idle_timeout with (or below) the upstream’s. See the connection churn guide for the reuse-ratio view.
  • HTTP/1.1 close without Connection: close. A known race exists where an upstream closes the TCP connection without signaling. Ensure upstreams send Connection: close when they intend to close.
  • Strict mTLS. In Istio, STRICT peer authentication can produce connection termination when the sidecar and application are not configured to speak TLS to each other. Check cluster.<name>.ssl.connection_error and the peer-auth policy.

A low, sporadic UC rate (for example, 1-2 per 100k requests) that you cannot reproduce is almost always upstream-initiated close behavior, not an Envoy bug.

Overflow (UO)

A circuit breaker is fast-failing requests. Default limits are max_connections=1024, max_pending_requests=1024, max_requests=1024, max_retries=3. Tripping them means the pool is saturated, usually because the upstream got slow, not because Envoy is broken.

  • Check circuit_breakers.default.cx_open, rq_pending_open, rq_open to identify which limit is hit.
  • Confirm the upstream is slow (upstream_rq_time climbing) before touching limits.
  • Raising limits without fixing the upstream removes protection and makes the next failure worse. Add capacity or fix the backend first.
  • Verify whether upstream_rq_pending_overflow is still meaningful in your Envoy build (see note above).

Remote reset (UR)

The upstream sent an explicit reset: HTTP/2 RST_STREAM or GOAWAY, a refused stream, or a ConnectError on a new connection. Common during graceful shutdown, backend overload, or backend-side bugs.

  • Cross-reference with backend deploy windows and backend logs.
  • Watch upstream_rq_rx_reset to confirm directionality.
  • If a single host dominates, outlier detection should be ejecting it; check outlier_detection.ejections_active.

Protocol error (UPE)

Protocol framing failed. The cluster is speaking a different protocol than Envoy expects.

  • For gRPC-web or HTTP/2 upstreams, verify http2_protocol_options is set on the cluster and that the upstream actually speaks HTTP/2.
  • Check ALPN negotiation and whether upstream TLS is configured when the backend expects plaintext (or vice versa).
  • cluster.<name>.ssl.connection_error and ssl.fail_verify_error will move if the cause is the TLS layer rather than pure framing.

Local reset (LR)

Envoy itself refused the stream. The usual causes are overload manager actions (stop_accepting_requests, disable_http_keepalive), filter denials, or local resource exhaustion.

  • Check server.overload_manager.envoy.overload_actions.*.active. Any active=1 means Envoy is degrading to survive.
  • Check server.memory_allocated against the container limit and max_heap_size_bytes.
  • If overload manager is not configured, Envoy has no self-protection and will OOM instead of resetting gracefully. Configure it.

Prevention

  • Alert on response flags, not just 503 counts. UF, UC, UO, UR, UPE, and LR each have different playbooks. A flat 5xx rate tells you nothing actionable.
  • Treat upstream_rq_pending_active as the leading indicator for UO. By the time pending_overflow is nonzero, users are already failing.
  • Align idle timeouts. Envoy’s upstream idle_timeout should be shorter than the upstream’s own idle close to avoid UC from late FIN detection.
  • Verify circuit breaker headroom during normal load. Track upstream_cx_active / max_connections. If you are consistently above 80%, you have no burst absorption.
  • Monitor both health checks and outlier detection. membership_healthy shows active-probe health; outlier_detection.ejections_active shows real-traffic health. A host can pass one and fail the other.
  • Watch the xDS path. control_plane.connected_state=0 and update_rejected both produce stale config that eventually surfaces as 503s for new routes or endpoints.
  • Track mTLS cert runway. In service mesh, silent SDS failure expires certs and then breaks TLS catastrophically across the mesh.
  • Enable overload manager in every production deployment. Without it, Envoy has no graceful degradation path under memory pressure.

How Netdata helps

  • Per-second collection of upstream_cx_connect_fail, upstream_cx_connect_timeout, upstream_rq_rx_reset, and upstream_rq_tx_reset lets you see the directionality of resets at the resolution of a single blip, not a 30-second scrape window.
  • Circuit breaker gauges (cx_open, rq_pending_open, rq_open) and the pending queue (upstream_rq_pending_active, upstream_rq_pending_overflow) sit on the same dashboard, so a UO diagnosis is a visual check rather than a multi-command session.
  • membership_healthy, membership_total, and outlier_detection.ejections_active sit alongside connect-fail counters, so you can distinguish “host is dead” (UF) from “host is ejected by real-traffic errors” without leaving the chart.
  • ML anomaly detection on upstream_rq_time surfaces the slow-upstream trend that precedes an Overflow cascade, giving you minutes of warning before the breaker trips.
  • Overload manager action gauges and server.memory_allocated against the container limit explain LR resets in real time, including the CFS-throttling case in Kubernetes where CPU limits cause watchdog misses without obvious CPU saturation.