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 / traefik / traefik-5xx-error-rate ▌

Operations Guides

Traefik 5xx error rate: telling Traefik-generated errors from backend errors

Your edge dashboard shows a 5xx spike on Traefik. Someone pages the backend team. The backend team finds nothing wrong in their application logs. An hour later it turns out Traefik had no healthy backends for one service, or a route disappeared after a config change, and the application was never in the request path at all.

Treating all 5xx responses as backend failures is one of the most common time-wasters in Traefik operations. A 502 generated by Traefik because it could not reach an upstream is a different incident from a 502 the backend produced itself. A 503 because every backend failed health checks is a different incident from a 503 your application returns under load. The root causes, the owners, and the fixes are all different.

Traefik already records the distinction. It instruments requests at two layers: at the entrypoint (where the client connection terminates) and at the service (where the request is forwarded to a backend). Comparing 5xx counts at these two layers tells you which layer produced the error before you open a single log file.

What this means

Every request through Traefik is counted at the entrypoint level in traefik_entrypoint_requests_total (labels: code, method, protocol, entrypoint). Requests that get routed and forwarded are counted again at the service level in traefik_service_requests_total (labels: code, method, protocol, service).

The operational meaning of the split:

  • 5xx at the entrypoint but not at the service: Traefik generated the response itself. The request never successfully reached a backend. Causes: no router matched, no healthy backends in the pool, a middleware short-circuited the chain, or the connection to the upstream failed before a response existed.
  • 5xx at both levels: the backend returned the error and Traefik passed it through. Traefik is a messenger here. The investigation belongs in the application, its database, or its downstream dependencies.

The same logic applies to 404s. An entrypoint-level 404 means no router matched the request: a Traefik configuration problem. A service-level 404 means the backend returned “not found”: an application problem. For the broader mental model of the routing pipeline, see How Traefik actually works in production.

flowchart TD
  A[5xx spike detected] --> B{5xx at entrypoint?}
  B -- yes --> C{5xx also at service level?}
  C -- no --> D[Traefik-generated error]
  C -- yes --> E[Backend-generated error]
  D --> F[Check server_up, routes, middleware, config freshness]
  E --> G[Check backend logs, dependencies, per-service 5xx]

Common causes

CauseWhat it looks likeFirst thing to check
All backends failed health checks503 at entrypoint, no matching 503 series at service level, traefik_service_server_up is 0 for every URL in the servicetraefik_service_server_up per service
Backend connection failure502 at entrypoint, backends report up, no backend application errorsNetwork reachability and connection state between Traefik and the backend
Backend application error5xx at both entrypoint and service, same code, same rateBackend application logs for the affected service
Middleware short-circuitErrors at entrypoint with no service-level counterpart, often correlated with a recent config changeWhich middlewares are attached to the affected router
Provider desyncRising entrypoint 404/5xx, traefik_config_last_reload_success timestamp frozenConfig reload timestamp vs actual deployment activity
Retry amplification5xx at both levels, traefik_service_retries_total spiking, latency climbingRetry rate relative to request rate
Timeout chain mismatchIntermittent 502/504 at entrypoint, backends look healthy and fastAlignment of timeouts between client, load balancer, Traefik, and backend

Quick checks

All of these are read-only. They assume the Prometheus metrics endpoint is reachable (typically on the Traefik admin port).

# 5xx at the entrypoint level
curl -s http://localhost:8080/metrics | grep 'traefik_entrypoint_requests_total' | grep 'code="5'

# 5xx at the service level
curl -s http://localhost:8080/metrics | grep 'traefik_service_requests_total' | grep 'code="5'

# Backend health per service (only present for services with health checks enabled)
curl -s http://localhost:8080/metrics | grep traefik_service_server_up

# Config freshness: is the routing table still updating?
curl -s http://localhost:8080/metrics | grep traefik_config_last_reload_success

# Retry activity per service
curl -s http://localhost:8080/metrics | grep traefik_service_retries_total

# Which routers does Traefik actually have loaded right now?
curl -s http://localhost:8080/api/http/routers

Two things to note before interpreting output. First, traefik_service_server_up only exists for services with health checks enabled; absence of the series means unmonitored, not healthy. Second, both metric families are emitted by default in Traefik v3 (addEntryPointsLabels and addServicesLabels default to true), but verify both are actually present in your scrape before you rely on the comparison. A missing service-level family makes “no 5xx at the service” an empty statement.

How to diagnose it

  1. Confirm the split. Query the rate of 5xx at both layers over the same window. In PromQL, that is sum(rate(traefik_entrypoint_requests_total{code=~"5.."}[5m])) versus sum(rate(traefik_service_requests_total{code=~"5.."}[5m])). If the service-level rate roughly matches the entrypoint rate, the backend returned the errors. If the entrypoint rate is high and the service rate is near zero, Traefik generated them.

  2. If Traefik-generated, branch on the code. A 503 pattern means Traefik had a matching router but no ready servers: check traefik_service_server_up for the affected service. A 502 pattern means Traefik tried an upstream and failed: check backend reachability, connection state, and whether health checks report up while real traffic fails (the classic “healthy yet failing” case where the health endpoint is fine but the real path is broken). Rising 404s mean routing: compare /api/http/routers output with what you expect to be loaded.

  3. Check config freshness. If traefik_config_last_reload_success has stopped advancing while deployments are happening, Traefik is serving stale routes. Provider desync produces entrypoint-level errors (404s for new services, dead traffic for removed ones) while /ping keeps returning 200. See the /ping health-check trap.

  4. If backend-generated, identify the service. Break the 5xx rate down by the service label. One service failing with everything else clean points at that application. Many services failing simultaneously points at a shared dependency: database, cache, or a downstream API.

  5. Check for retry amplification. If traefik_service_retries_total is spiking alongside the 5xx rate and latency, Traefik may be multiplying load on an already-degraded backend. The final client response can still be 200 while retries triple backend traffic, so check this even when the client-visible error rate looks mild.

  6. Correlate with deployments and config changes. A 5xx onset that lines up exactly with an increment in traefik_config_reloads_total or a deployment event narrows the cause to a routing or application change, not infrastructure.

One historical limitation: in early v2 releases, buffering middleware could make traefik_service_requests_total record code="0" while the entrypoint metric recorded the real status code. This was fixed by PR #9440 in Traefik v2.9.4, so current v2/v3 releases should not exhibit it; if the service-level codes look anomalous, verify against access logs before concluding anything.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
traefik_entrypoint_requests_total{code=~"5.."}All 5xx leaving Traefik, including ones Traefik generatedRising rate with no service-level counterpart
traefik_service_requests_total{code=~"5.."}5xx actually returned by backendsSustained rate above roughly 1% of that service’s traffic
Difference between the two ratesThe localization signal this article is aboutDivergence during an incident
traefik_service_server_upWhether Traefik has any ready backends per service0 for all URLs in a service; also absent entirely if no health check is configured
traefik_service_retries_totalHidden backend instability and load amplificationRetry rate climbing alongside latency
traefik_config_last_reload_successWhether the routing table is currentTimestamp frozen while deployments are happening
traefik_entrypoint_requests_total{code="404"}Unmatched routes, a Traefik-side signalSustained rise above baseline

Fixes

No healthy backends (503 at entrypoint)

Fix the backends, not Traefik. Check why health checks are failing: application crash, resource exhaustion, or a health-check path that does not reflect real application health. If the health endpoint passes while real traffic fails, align the health check with the actual traffic path. Do not alert only on traefik_service_server_up: services without health checks emit no series at all.

Upstream connection failures (502 at entrypoint)

Check network reachability, DNS resolution time for backend names, and connection pool behavior between Traefik and the backend. A frequent cause of intermittent 502s is a timeout mismatch across the chain: a cloud load balancer or backend with a longer idle timeout than Traefik sends requests on connections the other side already closed. Align the timeout chain so each layer’s timeout is longer than the one in front of it.

Middleware short-circuits

Traefik has no per-middleware Prometheus metrics, so you confirm these by elimination: entrypoint error present, service metric absent, and a middleware on that router that can produce that code (auth returning 401/403, rate limiting returning 429). Check the middleware configuration attached to the affected router and any recent changes to it.

Stale routes (404/5xx at entrypoint with frozen config timestamp)

Restore provider connectivity and authentication. Traefik retains its last-known configuration and recovers on its own once the provider is reachable again; there is no manual reload step. Then audit what changed during the desync window.

Backend application errors (5xx at both levels)

Traefik is healthy; do not spend time on the proxy. Take the failing service name from the service label and debug the application, its resource saturation, and its downstream dependencies. If retries are amplifying the load, reduce retry attempts on that service’s middleware while you fix the root cause.

Prevention

  • Alert on the split, not just the total. A 5xx alert that includes the entrypoint-vs-service comparison routes the page to the right team immediately.
  • Enable health checks on every production service. Without them you lose traefik_service_server_up and the earliest warning of backend pool collapse.
  • Monitor config freshness. Alert on traefik_config_last_reload_success age in environments with active deployment churn, and compare timestamps across replicas in HA setups to catch per-instance drift.
  • Track the retry ratio. Make traefik_service_retries_total relative to request rate a standing dashboard panel, not an incident-time query.
  • Baseline per service. Error-rate thresholds that fit an API service do not fit a streaming service. Establish per-service baselines and alert on deviation, as described in the Traefik monitoring checklist.

How Netdata helps

  • Netdata charts traefik_entrypoint_requests_total and traefik_service_requests_total broken down by status code, so the entrypoint-vs-service split is visible side by side without writing PromQL mid-incident.
  • Per-second collection catches short 5xx bursts that a 30 or 60 second scrape interval averages away, which matters when the spike lasts less than a minute.
  • traefik_service_server_up per backend URL is charted alongside error rates, making “503 with zero ready backends” a one-screen correlation.
  • Retry counters, request duration percentiles, and config reload timestamps live on the same dashboard, so retry amplification and provider desync show up in the same view as the error rate.
  • Anomaly detection on per-service error rates surfaces deviation from each service’s own baseline instead of relying on one global threshold.