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-high-cpu-usage ▌

Operations Guides

Traefik high CPU usage: TLS handshakes, regex rules, and config rebuilds

Traefik is pegging cores and request latency is climbing. The process is alive, /ping returns 200, and traffic is still flowing, but p99 latency is creeping up and TLS connections are slower to establish. You need to know which of the three usual suspects is burning the CPU: cryptographic work, middleware processing, or configuration rebuilds.

Traefik CPU is dominated by TLS handshake computation (especially with RSA certificates), then middleware chain processing (gzip compression, JWT validation, regex-based routing rules), then configuration rebuilds whose cost scales with routers times middlewares times services. The diagnosis is almost entirely correlation: match the CPU curve against the TLS handshake rate, the config reload rate, and the request rate, and the cause usually names itself.

First: measure CPU against the container’s cgroup CPU limit, not against host cores. A Traefik container limited to 2 cores on a 64-core host that shows “3% of host CPU” is actually saturated. Also check the Traefik build: Traefik v3.7.0 and later use Go 1.25+, whose runtime defaults GOMAXPROCS to the Linux cgroup CPU bandwidth limit when it is lower and follows limit changes. On Traefik v3.6 and earlier, the Go runtime starts from host logical CPUs, so set GOMAXPROCS explicitly for a throttled container.

What this means

Traefik does three kinds of expensive work, and each has a distinct signature:

TLS handshakes. Every new TLS connection costs roughly 1-5 ms of CPU on modern hardware. That is small per connection, but it is the single largest CPU consumer in a typical Traefik deployment. RSA key exchange is far more expensive than ECDSA: switching from RSA-2048 to ECDSA P-256 certificates can cut handshake CPU by 10-20x. Session resumption eliminates most of the handshake cost for returning clients, so anything that defeats resumption (short connection lifetimes, disabled session tickets, clients that do not reuse connections) forces every connection to pay full price.

Middleware and rule evaluation. Every request traverses the middleware chain. Regex-based routing rules, gzip compression of large responses, and JWT validation are the expensive links. One correction to the usual folklore: Go’s RE2 regexp engine does not backtrack catastrophically, so the regex hazard is steady per-request evaluation cost multiplied across routers, not exponential blowups on crafted input.

Configuration rebuilds. Every provider event (pod churn in Kubernetes, container events in Docker, file changes) triggers a rebuild of the routing table. Rebuild cost is proportional to routers times middlewares times services, and the rebuild is effectively single-threaded: with more than about 5,000 routes, one rebuild can consume 50-200 ms of CPU. At high provider churn rates, Traefik spends more time rebuilding than routing.

The useful mental model: CPU correlating with TLS request rate means crypto-bound; CPU correlating with config reloads means rebuild storm; sustained high CPU at low request rate means middleware or routing overhead.

flowchart TD
  A[High CPU on Traefik process] --> B{Correlate with signals}
  B -->|CPU tracks TLS request rate| C[TLS handshake bound]
  B -->|CPU tracks config reloads| D[Rebuild storm]
  B -->|High CPU at low request rate| E[Middleware / regex bound]
  C --> C1[RSA certs? Session resumption off? High new-connection rate?]
  D --> D1[Provider churn? Throttle too low? Huge route table?]
  E --> E1[gzip on large responses? Expensive regex? JWT validation?]

Common causes

CauseWhat it looks likeFirst thing to check
RSA certificates under high new-connection rateCPU tracks traefik_entrypoint_requests_tls_total; profile shows crypto/rsa.decrypt on topTLS cert key type and handshake rate
Session resumption defeatedEvery connection pays full handshake cost; CPU high even at modest request ratesUpstream LB keep-alive behavior, session ticket settings
Config rebuild stormCPU spikes align with traefik_config_reloads_total increments; latency jitter, not sustained increaseReload rate and provider event rate
Regex routing rulesSustained CPU at low or moderate request rate; cost grows with the number of regex matchers evaluated per requestRouter rules using HostRegexp, PathRegexp, or regex middlewares
gzip compression on large responsesCPU tracks response bytes more than request countWhich services route through a compress middleware
JWT validation or auth middleware on hot pathsCPU scales with request rate even for cheap requestsMiddleware chain on the busiest routers
Large routing tableBaseline CPU climbs over weeks as routes accumulate; rebuilds get slowerRouter, service, and middleware counts

Quick checks

These are read-only and safe to run during an incident.

# Process CPU (rate this counter; also compare against the cgroup limit)
curl -s http://localhost:8080/metrics | grep process_cpu_seconds_total
top -p "$(pgrep -d, traefik)" -bn1

# Container CPU limit (cgroup v2)
cat /sys/fs/cgroup/cpu.max

# TLS request rate by version and cipher
curl -s http://localhost:8080/metrics | grep traefik_entrypoint_requests_tls_total

# Config reload activity
curl -s http://localhost:8080/metrics | grep traefik_config_reloads_total

# Request rate, to separate "busy" from "inefficient"
curl -s http://localhost:8080/metrics | grep traefik_entrypoint_requests_total

Measure the TLS handshake cost from a client. Handshake time is time_appconnect minus time_connect:

# TLS handshake timing from the client side
curl -w "time_appconnect: %{time_appconnect}\ntime_connect: %{time_connect}\n" \
  -o /dev/null -s https://your-traefik-host/

Same-datacenter clients should see handshakes under about 10 ms. Consistently above 50-100 ms for nearby clients points at CPU saturation on the Traefik side.

If the cause is not obvious from correlation, capture a CPU profile. The pprof endpoints are served by Traefik’s API, and enabling the API may require a restart, so treat this as a planned step, not a first response:

# 30-second CPU profile via pprof (requires the Traefik API enabled)
curl -o cpu.pb.gz "http://localhost:8080/debug/pprof/profile?seconds=30"

A crypto-bound profile is dominated by TLS and RSA functions (crypto/rsa.decrypt is the classic signature). A middleware-bound profile shows regexp evaluation, compression, or auth code. A rebuild-bound profile shows router and middleware construction.

How to diagnose it

  1. Establish the CPU baseline against the real limit. Rate process_cpu_seconds_total and express it as a fraction of the cgroup CPU limit. If you are reading host-level CPU, stop and redo this first; a throttled container looks idle on host-wide graphs.

  2. Correlate CPU with the TLS request rate. Chart rate(process_cpu_seconds_total) next to rate(traefik_entrypoint_requests_tls_total). If the curves move together, you are crypto-bound. Confirm by checking the certificate key type (RSA vs ECDSA) and the new-connection rate from upstream load balancers and clients.

  3. Correlate CPU with config reloads. Chart CPU next to rate(traefik_config_reloads_total). Spikes aligned with reload increments mean rebuild cost. Check what the provider is doing: pod churn, autoscaling events, mass deployments. Also check routing table size, since rebuild cost scales with it.

  4. Check the middleware path. If CPU is high but both TLS rate and reload rate are flat, look at the request path itself. Compare traefik_entrypoint_request_duration_seconds with traefik_service_request_duration_seconds: if entrypoint latency is high while service latency is normal, the overhead is inside Traefik’s own processing (TLS, middleware, compression), not the backends.

  5. Audit regex rules. List routers and middlewares that use regex matchers (HostRegexp, PathRegexp, QueryRegexp, HeaderRegexp, RedirectRegex, ReplacePathRegex). Look for unnecessary wildcards and overlapping alternations. RE2 will not blow up exponentially, but every regex matcher on a router is evaluated per request, and the cost adds up across a large table.

  6. Profile if still ambiguous. Take the 30-second pprof CPU profile above and attribute CPU to crypto, regexp, compression, or config construction. This settles arguments quickly.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
process_cpu_seconds_total (rate vs cgroup limit)The primary saturation signalSustained above 70% of limit for 5 minutes; above 90% for 2 minutes
traefik_entrypoint_requests_tls_totalTLS session rate by version and cipher; the main CPU driverRising rate alongside rising CPU; spike in unusual ciphers
traefik_config_reloads_totalRebuild frequency; each rebuild costs CPU proportional to table sizeRate approaching or exceeding 1/second sustained
traefik_entrypoint_request_duration_seconds vs traefik_service_request_duration_secondsThe gap isolates Traefik-internal overhead from backend timeEntrypoint latency high while service latency normal
go_goroutinesConcurrent work; rebuild storms and stuck connections both inflate itGrowth without corresponding traffic growth
traefik_service_responses_bytes_totalLarge responses through a compress middleware are expensiveCPU tracking response bytes more than request count

Fixes

TLS handshake bound

Switch from RSA to ECDSA P-256 certificates. This is the highest-leverage change: 10-20x cheaper handshakes. For ACME-managed certs this means requesting ECDSA keys; for manual certs, reissue with ECDSA. Client compatibility for ECDSA is a non-issue for anything remotely modern, but verify if you serve very old clients.

Restore session resumption. Resumed sessions skip most of the handshake cost. Make sure nothing in your TLS options disables session tickets, and check that upstream load balancers and clients keep connections alive instead of opening a new connection per request. A load balancer in front of Traefik with keep-alive disabled turns every request into a full handshake.

Scale out or offload. TLS handshake capacity is a hard CPU ceiling. If you are saturated after the above, add replicas and spread the handshake load, or terminate TLS further upstream. There is no config knob that makes RSA cheap.

Config rebuild storm

Increase providersThrottleDuration. The default is 2 seconds; for busy Kubernetes environments raise it to 5-10 seconds. This batches provider events into fewer rebuilds and is the standard fix for churn-driven rebuild load.

Reduce provider churn and table size. Batch mass deployments instead of triggering thousands of individual pod events. Scope providers to the namespaces Traefik actually serves. If the routing table has grown very large, rebuild cost per event grows with it, and splitting across multiple Traefik instances by namespace or shard becomes worth considering.

Middleware and regex bound

Simplify regex rules. Trim unnecessary wildcards and alternations. Prefer plain Host and PathPrefix matchers over regex where they express the same intent; every regex matcher adds per-request evaluation cost.

Reconsider compression placement. gzip on large responses is CPU-expensive at proxy scale. Options: compress at the backend, compress only for content types and sizes where it pays off, or drop compression for already-compressed media. Check whether CPU correlates with traefik_service_responses_bytes_total before touching anything.

Lighten the auth path. JWT validation and auth middlewares run on every request on their routers. If CPU scales linearly with request rate on auth-protected routes, that chain is the cost; reduce what runs per request or scope the middleware to the routers that actually need it.

Prevention

  • Alert on CPU against the cgroup limit: ticket at sustained >70% for 5 minutes, page at >90% for 2 minutes. Host-level CPU alerts are meaningless for a throttled container.
  • Baseline the TLS handshake rate and alert on divergence. A sudden jump in new TLS sessions (reconnection storm after a network blip, CDN cache purge, client deploy that disabled keep-alive) is your earliest warning of crypto saturation.
  • Alert on reload rate. Sustained traefik_config_reloads_total above roughly 1/second deserves investigation before it becomes a rebuild storm. Set providersThrottleDuration deliberately instead of inheriting the 2-second default.
  • Prefer ECDSA certificates from day one. There is rarely a reason to deploy new RSA-2048 certs on a high-connection-rate edge.
  • Track routing table growth. Router, middleware, and service counts are a slow-moving CPU liability: both per-request matching cost and per-rebuild cost grow with them.
  • Keep a CPU profile from a healthy period. Comparing a bad-time pprof profile against a known-good baseline makes attribution a two-minute job.

How Netdata helps

  • Netdata charts process_cpu_seconds_total alongside container cgroup CPU usage and limits, so you see saturation against the real ceiling rather than against idle host cores.
  • Per-second collection catches rebuild-storm CPU spikes and TLS reconnection bursts that minute-resolution monitoring averages away.
  • Correlating Traefik CPU with traefik_entrypoint_requests_tls_total (by TLS version and cipher) and traefik_config_reloads_total on one dashboard is the fastest path to the crypto-vs-rebuild-vs-middleware attribution this article describes.
  • Go runtime metrics (go_goroutines, heap, GC pauses) are collected from the same endpoint, so goroutine growth and GC pressure are visible next to the CPU curve when the cause is a leak rather than traffic.
  • ML-based anomaly detection on the CPU and TLS-rate metrics flags divergence from the learned baseline, which is how you catch a slow-building handshake or churn problem before the latency alerts fire.