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-rq-time-high ▌

Operations Guides

Envoy upstream_rq_time high: upstream latency as the proxy sees it

cluster.<name>.upstream_rq_time is the histogram that answers “how long did the upstream interaction take, as Envoy observed it?” When it climbs, the instinct is to page the backend team. That instinct is often wrong, or at least incomplete. The metric is wall-clock time measured at the HTTP router filter. It bundles several distinct latencies: TCP connect, upstream TLS handshake (for new connections), request transmission, upstream processing, and response transfer. It is not pure backend service time.

A second trap: when a request is retried and a later attempt succeeds, the histogram records only one sample — the total wall-clock duration from downstream request receipt to upstream response receipt, including all retry overhead. For client-observed latency, use downstream_rq_time.

A third trap: the default histogram buckets are extremely wide. The 100ms to 250ms to 500ms gaps mean histogram_quantile() in Prometheus interpolates across a large range, and percentile values can be coarse or misleading. Custom buckets aligned with your SLOs are necessary for accurate percentile work.

What this means

upstream_rq_time measures the time from when the downstream request is fully received by Envoy’s HTTP router filter until the entire upstream response has been received. It includes:

  • upstream TCP connection establishment (when a new connection is needed, not pooled reuse)
  • upstream TLS handshake (when upstream TLS is configured and a new connection is established)
  • network round-trip to the upstream host
  • upstream processing time
  • response transfer time back to Envoy

It does not include Envoy’s downstream-side processing (filter chain execution, TLS termination on the client side, compression). The delta downstream_rq_time - upstream_rq_time gives a rough sense of Envoy’s own overhead, but this delta also includes downstream upload/download behavior, retry time across attempts, and buffering delays. Treat it as a trend signal, not a clean overhead measurement.

Each retried request produces a single upstream_rq_time sample: the total wall-clock time from downstream request receipt to upstream response receipt, including all retry attempts and back-off. The route-level request timeout (x-envoy-upstream-rq-timeout-ms) covers all attempts. If retries are firing, the histogram’s tail widens because each surviving request carries the cumulative retry overhead, not because more samples are added.

When the route timeout fires, Envoy aborts the request and increments upstream_rq_timeout, but the aborted request is not recorded in the upstream_rq_time histogram at all. The histogram only contains requests whose upstream response was fully received. A timeout that fires mid-retry-sequence can still produce a recorded value in the histogram if a later attempt succeeds, in which case the sample reflects the total elapsed time including the timed-out attempt.

The metric only exists for HTTP router filter paths. TCP proxy, UDP proxy, and CONNECT-UDP tunnels do not produce upstream_rq_time histograms because the router filter is not involved.

flowchart TD
    A["upstream_rq_time high"] --> B{"P50 also past baseline P99"}
    B -- "Yes, whole distribution shifted" --> C["Backend in severe distress"]
    B -- "No, only P99 tail moved" --> D{"Tail at or near timeout value"}
    D -- "Yes" --> E["Retry overhead shaping tail"]
    D -- "No" --> F{"upstream_cx_connect_ms also high"}
    F -- "Yes" --> G["Network or TLS handshake issue"]
    F -- "No" --> H{"Pool saturated, cx_active near max"}
    H -- "Yes" --> I["Connection pool exhaustion"]
    H -- "No" --> J{"upstream_rq much greater than downstream_rq"}
    J -- "Yes" --> K["Retry amplification"]
    J -- "No" --> L{"watchdog_miss nonzero"}
    L -- "Yes" --> M["Hot worker or CFS throttle"]
    L -- "No" --> N["Backend slow at tail, check per-host"]

Common causes

CauseWhat it looks likeFirst thing to check
Backend service degradationP50 and P99 both rise together; ratio to baseline holds shape; error rate may be flatupstream_rq_time per-cluster vs backend’s own latency metrics
Network latency increaseupstream_cx_connect_ms rises in step with upstream_rq_time; same backend serving other clusters fineupstream_cx_connect_ms histogram, cross-AZ topology
Connection pool contentionupstream_cx_active near max_connections; upstream_rq_pending_active > 0; high upstream_cx_total rateupstream_cx_active, upstream_cx_total, upstream_rq_pending_active
Retry amplificationupstream_rq_total much higher than downstream_rq_total; upstream_rq_retry high; P99 looks bad but backend is fineupstream_rq_retry, upstream_rq_retry_success, ratio of upstream to downstream request rate
Retry-overhead tailHistogram tail widening toward the route timeout; upstream_rq_timeout counter incrementingupstream_rq_timeout counter, retry configuration, per-try timeout
HTTP/2 head-of-line blockingLatency spikes on HTTP/2 upstreams; one slow stream affects others on the same connectionupstream_cx_http2_total, per-stream behavior, TCP-level signals
Hot worker threadAggregate CPU moderate but P99 has sporadic spikes; watchdog_miss incrementingtop -H -p <envoy_pid>, server.watchdog_miss

Quick checks

Run these read-only against the admin interface. Replace 9901 with 15000 for Istio sidecar deployments, and my_cluster with your cluster name.

# Pull the upstream_rq_time histogram for a specific cluster
curl -s http://localhost:9901/stats/prometheus | grep 'envoy_cluster_upstream_rq_time.*my_cluster'

# Raw admin format with all histogram buckets
curl -s http://localhost:9901/stats | grep 'cluster.my_cluster.upstream_rq_time'

# TCP connect time to upstream - distinguishes network from backend
curl -s http://localhost:9901/stats | grep 'cluster.my_cluster.upstream_cx_connect_ms'

# Connection pool state - is the pool saturated?
curl -s http://localhost:9901/stats | grep -E 'cluster.my_cluster.(upstream_cx_active|upstream_rq_pending_active|upstream_cx_total)$'

# Retry behavior - is amplification inflating the histogram?
curl -s http://localhost:9901/stats | grep -E 'cluster.my_cluster.upstream_rq_retry'

# Timeout counters - is the ceiling artifact present?
curl -s http://localhost:9901/stats | grep -E 'cluster.my_cluster.upstream_rq_(timeout|per_try_timeout)'

# Circuit breaker state - are we rejecting before even trying?
curl -s http://localhost:9901/stats | grep 'cluster.my_cluster.circuit_breakers'

# Compare to client-observed latency
curl -s http://localhost:9901/stats | grep 'downstream_rq_time'

# Worker thread health - is Envoy itself the bottleneck?
curl -s http://localhost:9901/stats | grep -E 'watchdog_miss|watchdog_mega_miss'

# Per-thread CPU (OS-level, not admin)
top -H -p $(pgrep -x envoy) -b -n 1 | head -20

How to diagnose it

  1. Confirm the increase is real and cluster-scoped. Pull upstream_rq_time for the affected cluster specifically. Aggregate across all clusters hides which backend is slow. Look at P50 and P99 together. If only P99 moved, the tail is the problem. If P50 moved past the normal P99, the whole distribution shifted and the backend is in severe distress.

  2. Check whether retry overhead is distorting the histogram. If the histogram’s tail extends toward the configured route timeout while upstream_rq_timeout and upstream_rq_per_try_timeout are incrementing, retry overhead is shaping the tail. Aborted requests (those that actually time out) do not appear in the histogram. The backend’s real tail latency for those requests is unknowable from this histogram alone.

  3. Separate network from backend. Compare upstream_cx_connect_ms to upstream_rq_time. If connect time is also elevated, the network path or the upstream’s SYN backlog is the contributor. If connect time is flat but upstream_rq_time is up, the backend is the contributor. For mTLS upstreams, the TLS handshake cost is folded into connect time, so a certificate or cipher regression will show up here.

  4. Check the connection pool. If upstream_cx_active is near max_connections and upstream_rq_pending_active > 0, the pool is saturated. New requests wait for a connection, and the wait is included in upstream_rq_time. High upstream_cx_total rate means connections are being churned (not reused), which adds TCP and TLS cost to every request. For HTTP/1.1 upstreams without keepalive, every request pays this cost.

  5. Check for retry amplification. Compute upstream_rq_total / downstream_rq_total. If above 1.3, retries are inflating upstream load. If above 2.0, it is a retry storm. Each retry is a separate upstream_rq_time sample, so retries make the histogram look busier without representing the client experience. Check upstream_rq_retry_success to see whether retries are even helping. If retry success rate is low and retry rate is high, retries are accelerating the failure.

  6. Check circuit breaker and outlier detection state. If circuit_breakers.default.cx_open or rq_pending_open is 1, Envoy is fast-failing new requests with 503 (response flag UO). These fast-fails are recorded at near-zero latency, which can pull the histogram down. If latency “improves” during an incident, check whether error rate spiked: the improvement may be circuit-breaker rejections, not backend recovery.

  7. Check worker thread health. Aggregate Envoy CPU can look moderate while one worker is at 100%. Requests on that worker suffer event-loop queuing delay, which shows up in upstream_rq_time and downstream_rq_time alike. Run top -H -p $(pgrep -x envoy) to see per-thread CPU. Check server.watchdog_miss and server.watchdog_mega_miss. In Kubernetes, also check for CFS throttling, which causes the same symptom without Envoy being CPU-saturated internally.

  8. Check HTTP/2-specific issues. For HTTP/2 upstreams, low upstream_cx_active with high RPS is normal (multiplexing). But if max_concurrent_streams on the upstream is low, or if one slow stream is blocking others on the same connection, latency can spike. Per-host breakdown via GET /clusters?format=json reveals whether the problem is host-specific.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
cluster.<name>.upstream_rq_timeThe histogram itself; the primary signalP99 greater than 2x rolling baseline; P50 greater than baseline P99
http.<stat_prefix>.downstream_rq_timeClient-observed latency for comparisonGrowing delta vs upstream_rq_time suggests Envoy-side overhead
cluster.<name>.upstream_cx_connect_msTCP connect time; separates network from backendSudden increase more than 5x baseline; cross-AZ topology change
cluster.<name>.upstream_cx_activeConnection pool depthApproaching max_connections; steady growth without traffic growth
cluster.<name>.upstream_rq_pending_activeRequests queued waiting for a connectionAny sustained nonzero value; precursor to circuit breaker trip
cluster.<name>.upstream_rq_retryRetry rate and amplificationRatio above 0.1 warrants investigation; above 0.3 is a storm
cluster.<name>.upstream_rq_timeoutRoute timeout firing; aborted requests excluded from histogramCounter climbing while the histogram tail extends toward the timeout value
cluster.<name>.circuit_breakers.*_openWhether Envoy is fast-failing instead of forwardingAny gauge equal to 1 sustained
server.watchdog_missWorker thread blockingAny nonzero value; direct cause of latency spikes
cluster.<name>.upstream_cx_connect_failUpstream host unreachableSustained nonzero rate; may trigger outlier detection ejection

Fixes

Backend service degradation

Address the backend. Envoy is reporting accurately. Check the backend’s own GC pauses, database contention, disk I/O, and resource saturation. Do not raise Envoy’s circuit breaker limits to “absorb” a slow backend. That removes Envoy’s protection without fixing the cause, and the next failure involves an unprotected upstream collapsing completely.

Network latency increase

Investigate the network path. Cross-AZ or cross-region traffic adds fixed latency. Check whether routing changed, whether security groups or firewall rules shifted, or whether DNS is resolving upstreams to distant endpoints. For mTLS, check whether the TLS handshake cost included in upstream_cx_connect_ms has inflated due to a cipher or certificate regression.

Connection pool contention

If upstream_cx_active is near max_connections and the pool is saturated, the upstream is slow, which holds connections longer, which fills the pool. The fix is the upstream, not the limit. Temporarily raising max_connections can buy headroom during a spike, but the underlying problem is that connections are being held longer than the design assumes. For HTTP/1.1 upstreams, ensure keepalive is enabled; without it, every request pays TCP and TLS cost. Check upstream_cx_total rate for churn caused by idle timeout mismatches between Envoy and the upstream.

Retry amplification

If upstream_rq_total / downstream_rq_total is high and retries are not succeeding, disable or reduce retries for the affected cluster (for example by pushing upstream.use_retry to 0 via the runtime layer, or by removing the retry policy via xDS). Retries on non-idempotent requests can cause duplicate operations. Review the retry policy: which status codes trigger retries, how many attempts, and whether a retry budget (max_retries circuit breaker) is configured. During an active retry storm, temporarily disabling retries via runtime flag or xDS config push stops the amplification immediately.

Retry overhead shaping the tail

If the histogram’s tail extends toward the route timeout while upstream_rq_timeout is incrementing, retry overhead is contributing samples. Aborted requests are not in the histogram; only requests that eventually complete (including retried ones) contribute. Either the backend needs to be faster (the real fix) or the timeout needs to reflect the actual SLO (if the current value is too aggressive). Do not raise the timeout to “make the metric look better.” A higher timeout means clients wait longer before getting an error. Tune the timeout to the SLO, then fix the backend.

HTTP/2 head-of-line blocking

If HTTP/2 upstreams show latency spikes tied to specific connections, check max_concurrent_streams on the upstream. A low limit with high concurrency forces serialization. Consider whether HTTP/1.1 with a larger pool would actually be faster for this workload. Check for TCP-level issues (retransmits, window size) that affect one connection and all its multiplexed streams.

Hot worker thread

Identify the hot thread via top -H. Check for expensive filters (Lua, Wasm, body manipulation), synchronous DNS or ext_authz calls, or stats-sink contention. In Kubernetes, check for CFS throttling via cgroup stats (cpu.stat), which causes watchdog_miss without internal CPU saturation. If one worker is handling disproportionate load due to SO_REUSEPORT imbalance, that is a deployment-level problem.

Prevention

  • Configure custom histogram buckets. The default buckets are 0.5, 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 300000, 600000, 1800000, and 3600000 ms, with wide gaps in the 100-1000 ms range. Set buckets that bracket your SLO targets so percentile calculations are meaningful.
  • Alert on baseline deviation, not fixed thresholds. Different services have different baselines. P99 greater than 2x rolling-24h average is more robust than a fixed millisecond cutoff. P50 greater than baseline P99 signals the entire distribution has shifted.
  • Monitor the connection pool with headroom in mind. Track upstream_cx_active / max_connections and upstream_rq_pending_active. The pending queue is the leading indicator before 503s appear. Any sustained nonzero pending_active means the pool is becoming a bottleneck.
  • Track retry ratios as a standard dashboard metric. The ratio upstream_rq_retry / upstream_rq_total should be a first-class signal. A sudden jump is often the first sign of upstream degradation, before latency or error rates move.
  • Separate upstream_rq_time from upstream_cx_connect_ms. The ratio between them distinguishes network issues from application issues. If connect time is a growing fraction of total time, the problem is in the network path or connection establishment, not the backend.
  • Watch for the retry-overhead tail. If upstream_rq_timeout is nonzero in steady state, your timeout is too tight or your backend is too slow. Either way, aborted requests are excluded from the histogram, so the real tail is worse than what the histogram shows.
  • Monitor per-worker CPU, not just aggregate. Aggregate Envoy CPU masks single-threaded-per-worker behavior. watchdog_miss is the canary for event-loop blocking that does not show up in aggregate CPU.

How Netdata helps

  • Per-second collection of upstream_rq_time, downstream_rq_time, and upstream_cx_connect_ms on the same timeline. Correlating the three side by side separates backend latency from network latency from Envoy-side overhead without manual curl sampling.
  • Connection pool signals (upstream_cx_active, upstream_rq_pending_active, upstream_rq_pending_overflow) and circuit breaker gauges (cx_open, rq_pending_open) are collected per cluster. The pending queue depth is the leading indicator before 503s, and per-second resolution makes the cliff-edge visible.
  • Retry signals (upstream_rq_retry, retry_success, retry_overflow) and the upstream-to-downstream request rate ratio are tracked continuously. A retry storm shows up as a ratio spike before error rates cascade.
  • Timeout counters (upstream_rq_timeout, upstream_rq_per_try_timeout) are collected alongside the latency histogram, so the timeout ceiling artifact is distinguishable from real backend latency.
  • Anomaly detection on the latency histogram flags baseline deviations that fixed thresholds miss, which matters for upstream_rq_time where baselines vary widely across services and traffic patterns.
  • Worker thread health (watchdog_miss, watchdog_mega_miss) and per-second CPU per container surface hot-worker and CFS-throttling issues that aggregate CPU hides.