This checklist organizes Envoy monitoring into four maturity levels: survival, operational, mature, and expert. Each level catches failure modes the previous level misses. The levels are cumulative. Level 2 assumes Level 1 is in place. A team alerting on outlier detection ejections without basic server liveness has gaps in the wrong direction.
Use this as an audit tool. Walk each level, confirm each signal is collected and alerted on (or deliberately omitted), and note the gaps. Most production Envoy deployments plateau around Level 2 with a few Level 3 additions.
The admin port question
The Envoy admin interface serves stats, readiness, and config dumps. Confirm the port before debugging anything else.
- Standalone Envoy: admin port is 9901. Readiness is
GET /ready. - Istio sidecar: admin port is 15000. The health probe endpoint is
/healthz/readyon port 15021, not/readyon 9901.
If your scraper or probes point at the wrong port, every signal in this checklist will appear missing.
Warning: The admin interface allows destructive operations (including
/quitquitquit, which shuts down the server) and exposes private configuration. Restrict network access to it. Do not expose it to the public internet.
flowchart TD
L1["Level 1 - Survival
liveness, upstream health, traffic, memory"]
L2["Level 2 - Operational
5xx, latency, response flags, TLS, connect failures"]
L3["Level 3 - Mature
saturation, circuit breakers, xDS health, outlier ejections"]
L4["Level 4 - Expert
retry economics, hot workers, per-host state, overload actions"]
L1 --> L2 --> L3 --> L4Level 1 - survival
Is Envoy up, are upstreams reachable, is traffic flowing, and is the process about to run out of memory.
| Signal | Source | What it tells you |
|---|---|---|
| Process state | server.state gauge (0=LIVE, 1=DRAINING, 2=PRE_INITIALIZING, 3=INITIALIZING), or GET /ready (200 for LIVE, 503 otherwise) | Whether Envoy is accepting new connections |
| Upstream host health | cluster.<name>.membership_healthy / cluster.<name>.membership_total | What fraction of upstream hosts Envoy considers load-balancable |
| Traffic volume | cluster.<name>.upstream_rq_total (counter) | Whether requests are flowing to upstreams at all |
| Memory usage | server.memory_allocated (gauge, bytes) | How close Envoy is to its container or configured heap limit |
A non-LIVE server.state means the process is draining or stuck waiting for initial xDS config. A membership_healthy of zero with nonzero membership_total means traffic has nowhere to go. A flat upstream_rq_total means Envoy is not proxying. A climbing server.memory_allocated without a traffic increase is a leak or a stats cardinality explosion heading toward OOM.
Readiness is not serving capacity: Envoy can return 200 from /ready while having zero healthy upstreams. It will accept connections and return 503s.
Memory during hot restart: server.memory_allocated includes memory from both the old and new processes during hot restart. Compare against your container memory limit, not against server.memory_heap_size, which can be much larger due to allocator fragmentation.
Level 2 - operational
Error visibility, latency, and the signals that distinguish Envoy-generated failures from upstream failures.
| Signal | Source | What it tells you |
|---|---|---|
| 5xx rate | http.<stat_prefix>.downstream_rq_5xx and cluster.<name>.upstream_rq_5xx (counters) | Error rate as seen by clients and at the cluster edge |
| Upstream latency | cluster.<name>.upstream_rq_time (histogram, milliseconds) | How long upstream interactions take, including connect and transfer |
| Downstream latency | http.<stat_prefix>.downstream_rq_time (histogram, milliseconds) | End-to-end latency the client experiences |
| Connection failures | cluster.<name>.upstream_cx_connect_fail (counter) | Whether upstream hosts are refusing or failing TCP connects |
| TLS handshake health | listener.<address>.ssl.fail_verify_error, cluster.<name>.ssl.fail_verify_error (counters) | Certificate verification or CA trust failures |
| Ingress request rate | http.<stat_prefix>.downstream_rq_total (counter) | Traffic volume entering the proxy, for baseline and anomaly detection |
The response flags problem: downstream_rq_5xx and upstream_rq_5xx count both Envoy-generated 503s (circuit breaker open, no healthy upstream, no route) and upstream-forwarded 5xx. A 503 from a tripped circuit breaker has a completely different root cause and playbook than a 503 forwarded from a failing backend. Response flags tell them apart, but they are access-log only.
The %RESPONSE_FLAGS% field is available in access logs. It is not exposed as a stats counter. The flags that matter most in production:
| Flag | Meaning |
|---|---|
UO | Upstream overflow (circuit breaker tripped) |
UF | Upstream connection failure |
NR | No route configured (xDS misconfiguration) |
NC | No cluster found |
UT | Upstream request timeout |
UC | Upstream connection termination |
URX | Upstream retry limit exceeded |
For real-time alerting on these, you need a log processing pipeline that counts flag occurrences, or a custom Lua/Wasm filter that exports them as stats. Without that, you are alerting on a blended 5xx rate that conflates “Envoy is protecting itself” with “the backend is broken.”
Latency thresholds: use baseline multiples, not fixed values. P99 above 2x the rolling 24-hour P99 average warrants investigation. P50 above the normal P99 means the entire distribution has shifted. The default upstream_rq_time histogram buckets are wide (0.5ms to 1h); configure custom buckets aligned with your SLOs.
Level 3 - mature
Saturation leading indicators, circuit breaker state, and xDS configuration health. This is where you stop reacting to failures and start seeing them form.
| Signal | Source | What it tells you |
|---|---|---|
| Pending queue depth | cluster.<name>.upstream_rq_pending_active (gauge) | How many requests are queued waiting for an upstream connection |
| Pending overflow | cluster.<name>.upstream_rq_pending_overflow (counter) | Requests rejected because the pending queue was full (immediate 503) |
| Circuit breaker state | cluster.<name>.circuit_breakers.<priority>.cx_open, rq_pending_open, rq_open, rq_retry_open (gauges, 0 or 1) | Which circuit breakers are currently tripped |
| Control plane connection | control_plane.connected_state (gauge, 1=connected, 0=disconnected) | Whether Envoy is running on stale configuration |
| Config rejection | cluster.<name>.update_rejected (counter), listener_manager.listener_create_failure (counter) | Envoy NACKed a config push (silent bad-config rollout) |
| Outlier ejections | cluster.<name>.outlier_detection.ejections_active (gauge) | How many hosts passive health checking has removed |
| Downstream rejections | listener.<address>.downstream_cx_overflow, listener.<address>.downstream_cx_overload_reject (counters) | Envoy refusing new connections at the listener |
| File descriptor usage | ls /proc/<pid>/fd | wc -l vs /proc/<pid>/limits (Max open files), or server.total_connections as a proxy (each proxied connection is roughly 2 FDs) | How close Envoy is to the hard FD cliff |
The pending queue is the leading indicator: most teams alert on 503s. By the time 503s appear, the pending queue is full and users are already failing. Alerting on upstream_rq_pending_active growth gives minutes of warning before overflow starts. Any sustained nonzero value means the connection pool is becoming a bottleneck.
The xDS trap: teams monitor control_plane.connected_state but miss update_rejected. Envoy can be connected to the control plane (state = 1) while silently NACKing every config update. The operator sees “deployment completed” on the control plane side, and Envoy kept the old config. Monitor both connection state and rejection rate. Check Envoy’s process logs for NACK details, since the rejection reason is logged but not exposed via stats.
File descriptors are a hard cliff: at 100% FD utilization, all new connection attempts fail simultaneously with no graceful degradation. The default ulimit on many systems is 1024, which is inadequate for a production proxy. During hot restart, both old and new processes hold FDs, so usage briefly doubles. If baseline usage is above 50% of the limit, hot restart can trigger exhaustion.
Level 4 - expert
Deep signals teams add after repeated incidents: retry economics, worker thread health, per-host granularity, and overload manager visibility.
| Signal | Source | What it tells you |
|---|---|---|
| Retry rate | cluster.<name>.upstream_rq_retry (counter) | Whether retries are helping or amplifying failure |
| Retry overflow | cluster.<name>.upstream_rq_retry_overflow (counter) | Retry budget exhausted (retries being dropped) |
| Worker health | server.watchdog_miss (counter), server.watchdog_mega_miss (counter) | Event loop stalls on worker threads |
| Overload actions | server.overload_manager.envoy.overload_actions.<action>.active (gauge) | Whether Envoy is actively degrading to survive |
| Config convergence | cluster_manager.warming_clusters (gauge), listener_manager.total_listeners_warming (gauge) | Clusters/listeners stuck in warming (config not activating) |
| Per-worker CPU | OS-level: top -H -p <pid> or per-thread cgroup stats | Hot worker threads invisible in aggregate CPU |
| Per-host upstream state | GET /clusters?format=json | Single-host issues masked by cluster averages |
Retry economics: the ratio upstream_rq_retry / upstream_rq_total should be a standard dashboard metric. Above 0.1 (10%) warrants investigation. Above 0.3 is a retry storm. Track upstream_rq_retry_success alongside it: if retries rarely succeed, they are adding load without helping. In a retry storm, the upstream sees 2x-3x the actual client load, which accelerates the failure retries are trying to mask.
Watchdog misses are not subtle: watchdog_miss should be zero. Any nonzero value means a worker thread was blocked longer than the watchdog timeout (typically 200ms). This directly causes request latency spikes. In Kubernetes, CFS throttling can cause watchdog_miss even when Envoy is not computationally overloaded: the kernel is throttling the CPU quota. Check container_cpu_cfs_throttled_periods_total at the container level.
Overload manager visibility: if the overload manager is not configured (common in default deployments), Envoy has no self-protection against memory exhaustion. It will simply OOM. The overload manager is the mechanism that triggers downstream_cx_overload_reject. Without it configured, Envoy goes straight from “fine” to “dead.” Verify max_heap_size_bytes is set appropriately for your container limits.
Deployment variants that change the checklist
The four levels apply universally, but emphasis shifts by deployment type.
- Sidecar (Istio/service mesh): admin port is 15000, not 9901. Every pod has its own Envoy, so fleet-scale matters more than single-instance depth. xDS control plane load and
connected_stateacross thousands of sidecars is critical. Per-pod memory limits interact with Envoy’s heap behavior. Scale changes the monitoring problem from “is this instance healthy” to “are all instances converging on the same config.” - Edge/gateway: fewer instances, higher per-instance connection counts. TLS termination dominates CPU. Focus on connection management, TLS handshake rates, and rate limiting behavior. FD limits matter more here than in sidecar mode.
- Front proxy (non-mesh): often static config. xDS signals are less relevant. Focus on upstream health, throughput, and TLS. The connection pool exhaustion cascade is the most common incident pattern.
- HTTP/2 or gRPC upstreams: connection counts are not a proxy for throughput. A single HTTP/2 connection multiplexes many streams.
upstream_cx_activecan be low whileupstream_rq_active(concurrent requests) is high. Monitor request-level concurrency, not connection count.
How Netdata helps
- Per-second collection of
server.state,membership_healthy/membership_total, andupstream_rq_timelets you see a saturation cascade form before 503s appear, which is the window where intervention is cheap. - Correlating
upstream_rq_pending_activegrowth withupstream_rq_timeandcircuit_breakers.*_openin a single view catches the connection-pool exhaustion pattern without switching between dashboards. control_plane.connected_statepaired withupdate_rejecteddistinguishes “disconnected, running stale” from “connected but silently NACKing,” which are different incidents with different fixes.server.memory_allocatedandoverload_actions.*.activetogether show whether the overload manager is actively saving the process or whether it is unconfigured and heading straight for OOM.
Related guides
- How Envoy actually works in production: a mental model for operators
- Envoy monitoring maturity model: from survival to expert
- Envoy no healthy upstream: the 503 when a cluster has no host to route to
- Envoy membership_healthy dropping: reading the single most important cluster signal
- Envoy outlier detection mass ejection: when passive health checks empty a cluster
- Envoy panic threshold: why traffic routes to unhealthy hosts at 50%
- Envoy upstream_cx_connect_fail: failed TCP connections to upstream hosts
- Envoy health checks vs outlier detection: two systems that eject hosts differently
- Envoy upstream_rq_pending_overflow: the pending queue fills and 503s begin
- Envoy circuit breaker open: cx_open, rq_pending_open, and fast-failed requests
- Envoy upstream_cx_active near max_connections: the pool filling up
- Envoy connection pool exhaustion: a slow upstream that fills the pool






