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 / coredns / coredns-memory-limit-relist-spike ▌

Operations Guides

CoreDNS memory limit and the re-list spike: sizing for the restart peak

A CoreDNS pod that runs fine for weeks gets OOMKilled thirty seconds after a restart. Kubernetes starts it again. It re-syncs, allocates heavily, crosses the limit, and gets killed again. Restart count climbs into the hundreds, and cluster DNS capacity drops by half or more while the crash loop runs. kubectl describe pod shows Last State: Terminated, Reason: OOMKilled, and nothing in steady-state monitoring predicted it.

The mechanism: the memory limit was sized against steady-state RSS, but the kubernetes plugin’s startup re-list is the actual peak memory event in CoreDNS’s lifecycle. In large clusters that peak runs 2-3x steady state. A limit set 10-20% above normal RSS is a limit sized to guarantee a crash loop on the next restart.

This article covers what happens during the restart, how to measure your actual re-list peak, how to size the limit and the request, and why adding replicas does nothing for this failure mode.

What happens during a restart

On every cold start, the kubernetes plugin has an empty in-memory snapshot. Before it can answer cluster.local queries, it performs a full list of all Services, Endpoints or EndpointSlices, and (if pods verified is configured) Pods from the API server, then populates its record set. This is the watch-based model working as designed: CoreDNS does not query the API per DNS query, it maintains a snapshot, and building that snapshot from zero requires materializing the entire object set in memory.

Two things make this expensive:

  • The full list response is held in memory at once. The list is deserialized and held while the plugin builds the new store. The old snapshot and the new deserialization overlap, which roughly doubles the footprint before the store is swapped.
  • Deserialization overhead lands on top of live data. JSON decoding, string allocations, and intermediate objects all allocate. In coredns issue #2511, a cluster with about 5,000 endpoints showed steady-state usage around 300 MB but allocations approaching 1 GB during initialization, traced to endpoint unmarshalling and strings.Join work.

A few properties of this peak matter operationally:

  • It scales with cluster size, not with query load. QPS is irrelevant. What matters is the number and size of Services, Endpoints, and Pods. Large Endpoints objects (a Service with 150+ backends) make it worse.
  • It happens on every cold start and every watch re-list. Not just pod restarts. If the watch to the API server drops past its timeout, the plugin does a full re-list. An API server restart can trigger simultaneous re-lists across every CoreDNS pod in the cluster. In kubernetes issue #139117, an apiserver restart in a scalability test restarted 235 of 313 CoreDNS pods, 233 of them OOMKilled (exit 137) at a 170 Mi limit.
  • The pod is briefly alive between kills. It reaches Running, starts the sync, allocates, and dies. That is what makes the loop self-perpetuating: every restart recreates the exact conditions that caused the first kill.
flowchart TD
  A[Pod starts] --> B[kubernetes plugin begins full API list]
  B --> C[All Services, Endpoints, Pods deserialized in memory]
  C --> D[Memory climbs to 2-3x steady state]
  D --> E{Limit sized for peak?}
  E -->|No| F[OOMKilled - restart count increments]
  F --> A
  E -->|Yes| G[Snapshot built - memory settles to steady state]

Why steady-state sizing fails

The common mistake, called out in the CoreDNS operations playbook as one of the things most teams get wrong: set the memory limit 10-20% above observed RSS and move on. The observed RSS in a long-running pod is steady state. The re-list peak is invisible in that measurement because it only occurs at startup and during watch re-lists.

Issue coredns#3388 is the textbook case: a 170 Mi limit (the historical default in many manifests), roughly 150 Mi of observed pod memory in kubectl top, and 836 restarts per pod. The limit looked generous against normal operation and was nowhere near enough for startup.

There is a second trap: the official scaling formula from the CoreDNS deployment repo, MB required = (Pods + Services) / 1000 + 54, was derived from CoreDNS 1.2.x on Kubernetes 1.12. It does not account for the re-list peak, EndpointSlice overhead, or the autopath plugin’s memory cost. Treat it as a floor for steady state, not a limit recommendation.

The peak is per-pod and proportional to the whole cluster’s object set. Cluster growth is what turns a previously safe limit into a crash loop: the cluster adds Services and Endpoints for six months, steady-state RSS creeps up, the re-list peak creeps up 2-3x faster, and the next routine restart (a node upgrade, a config change, an eviction) tips the pod over.

Measuring your re-list peak

Do not guess from formulas. Measure the peak on your cluster. All commands below are read-only unless noted.

The CoreDNS image is minimal and typically has no shell or wget, so scrape the metrics endpoint from your workstation via kubectl port-forward rather than exec-ing into the container.

1. Get your steady-state baseline.

# Steady-state RSS (this is what the OOM killer sees)
kubectl port-forward -n kube-system deploy/coredns 9153:9153 &
PF_PID=$!
curl -s localhost:9153/metrics | grep '^process_resident_memory_bytes'
kill $PF_PID

2. Estimate the object set that drives the peak.

# Count the objects the kubernetes plugin must list
kubectl get svc --all-namespaces --no-headers | wc -l
kubectl get endpoints --all-namespaces --no-headers | wc -l
kubectl get endpointslice --all-namespaces --no-headers | wc -l

3. Capture the peak across a controlled restart.

Pick one pod, delete it, and scrape process_resident_memory_bytes from the replacement pod at 1-2 second intervals from the moment it starts until it reports ready. The maximum you observe is your re-list peak.

# Delete one replica, then watch memory climb on the replacement
kubectl delete pod -n kube-system <coredns-pod-name>
NEW_POD=$(kubectl get pods -n kube-system -l k8s-app=kube-dns \
  --sort-by=.metadata.creationTimestamp -o name | tail -1)

# Wait for the container to be Running (not Ready; ready comes after the sync)
kubectl wait -n kube-system $NEW_POD \
  --for=jsonpath='{.status.phase}'=Running --timeout=60s

kubectl port-forward -n kube-system $NEW_POD 9153:9153 &
PF_PID=$!
while true; do
  curl -s --max-time 1 localhost:9153/metrics | grep '^process_resident_memory_bytes'
  sleep 1
done
# Ctrl-C to stop, then: kill $PF_PID

Early curl calls fail silently until the metrics listener is up; that is fine, the climb is what you are after. If the pod gets OOMKilled during your test before you capture a max, that is also your answer: the peak exceeds the current limit. Raise the limit substantially (2x or more) and repeat until the pod survives, then read the peak.

This test removes one replica temporarily; run it only with a healthy second replica in place.

4. Check your history for evidence you already have a problem.

# Restart counts and last termination reason
kubectl get pods -n kube-system -l k8s-app=kube-dns
kubectl describe pod -n kube-system <coredns-pod-name> | grep -A5 'Last State'

Any restart with Reason: OOMKilled within seconds to a minute of container start is the re-list pattern, not a slow leak. A slow leak kills a pod hours into its life; the re-list kill happens during initialization.

Sizing the limit and the request

Once you have a measured peak, sizing is arithmetic:

  • Limit: at least 1.5x the measured re-list peak. The peak grows with cluster size between today and the next restart, and you will not get paged for “peak got slightly bigger” until the pod crash loops. If you cannot measure directly, the playbook guidance of at least 50% headroom over steady state is a minimum for small clusters; in large clusters where the re-list runs 2-3x steady state, size for 3x steady state plus margin. For a pod at 70 MB steady state, that means 210 MB or more, not 85 MB.
  • Request: steady-state RSS plus margin, not the peak. The request drives scheduling and QoS. Setting the request at the peak wastes node capacity for a once-per-restart event; setting it at steady state keeps the pod schedulable and keeps it out of BestEffort. Request and limit must be different numbers here. A pod with request = limit at steady-state sizing will crash loop exactly like an undersized limit.
  • Set GOMEMLIMIT below the limit. On Go 1.19 and later, GOMEMLIMIT is a soft memory limit that makes the GC work harder as usage approaches it. Set it to roughly 80-90% of the container limit. During the re-list this buys you GC pressure before the kernel’s OOM killer gets involved, which is often the difference between surviving the peak and not.
  • Recheck after cluster growth events. The peak is a function of live object count. A workload onboarding that adds thousands of Endpoints, or switching the kubernetes plugin to pods verified mode (which adds a full Pod watch), changes the peak materially. The plugin documentation itself warns that pods verified “requires substantially more memory.”

Two mitigations reduce the peak itself rather than accommodating it:

  • noendpoints disables the Endpoints watch, removing the largest object type from the list. Only viable if nothing depends on headless Service or endpoint DNS records.
  • EndpointSlices instead of Endpoints (default in current versions) produces more fine-grained watch data and avoids the giant Endpoints-object deserialization cost documented in issue #2511. If you are on an older CoreDNS pinned to the Endpoints API, upgrading changes your peak.

Whether either eliminates the spike entirely versus merely shrinking it is cluster-dependent; measure before and after if you change these.

Why more replicas do not help

Horizontal scaling fixes throughput problems. This is not a throughput problem.

Every CoreDNS replica builds a complete, independent snapshot of the cluster. The re-list peak is per-pod and identical on every replica. Adding a third or fourth replica adds three or four pods that will each individually crash loop on their next restart. It also makes the worst case worse: when the API server restarts and every replica re-lists simultaneously, more replicas means more concurrent full-list responses hammering the apiserver and more pods racing toward the same OOM kill.

The correct response is vertical: raise the per-pod memory limit to cover the peak, set GOMEMLIMIT, and reduce the object footprint the plugin must list. Replicas are for query capacity and availability, not for memory headroom.

Signals to monitor

SignalWhy it mattersWarning sign
process_resident_memory_bytesRSS is what the OOM killer uses; the primary limit-relative signalAbove 80% of container limit, or any sharp vertical climb at pod start
Pod restart count and Last State reasonOOMKilled seconds after start is the re-list signature; hours after start suggests a leak insteadAny OOMKilled termination, restart count incrementing
go_memstats_heap_inuse_bytesLive heap, for leak vs peak discrimination and GC behaviorPost-GC minimum climbing between restarts indicates a separate leak problem
go_gc_duration_secondsGC works harder approaching the limit; foreshadows OOM during startupPause duration rising sharply during the first minute after pod start
Readiness duration (:8181/ready)Time-to-ready reflects how long the initial list takes; grows with cluster sizePod not ready beyond 60-120 seconds after start
coredns_kubernetes_rest_client_requests_total by code5xx or errors during startup mean the list itself is struggling or being throttledError codes coinciding with restarts
Services/Endpoints count over timeThe leading indicator for peak growthObject counts trending up while the memory limit stays fixed

How Netdata helps

  • Netdata charts process_resident_memory_bytes per pod at per-second resolution, which is what you need to actually see the re-list spike; at 15-60 second scrape intervals the peak can fall between samples and the crash loop looks unmotivated.
  • Correlating RSS with pod restart events on one timeline separates the restart-peak OOM (vertical climb at t=0, killed within a minute) from a heap leak (slow climb over hours), which have completely different fixes.
  • Tracking go_memstats_heap_inuse_bytes and go_gc_duration_seconds alongside RSS shows whether GOMEMLIMIT is doing its job during startup or whether GC pressure is arriving too late.
  • Alerting on RSS as a percentage of the container limit, rather than an absolute value, keeps the threshold correct as you resize.
  • Long retention on per-pod memory lets you watch the re-list peak grow quarter over quarter as the cluster adds Services, so you resize the limit before a routine node drain turns into an outage.