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-stale-dns-records-freshness-test ▌

Operations Guides

CoreDNS serving stale cluster DNS: why you need a functional freshness test

Your CoreDNS dashboards are green. Query rate normal, latency sub-millisecond, SERVFAIL near zero, cache hit ratio healthy. Meanwhile, a Service deleted an hour ago still resolves, and the new Service your team just deployed returns NXDOMAIN. Applications are failing, but nothing in your monitoring fired.

This is the silent stale data pattern. The kubernetes plugin builds its DNS records from a watch on the API server. If that watch disconnects and cannot re-establish, CoreDNS keeps answering from its in-memory snapshot. The snapshot drifts from reality. No errors go back to clients. No performance metric moves, because the server is genuinely healthy and fast. The data is simply wrong.

Standard metrics cannot catch this because they measure how well CoreDNS answers, not whether the answers are current. The only reliable detector is a synthetic check that changes something in the Kubernetes API and verifies CoreDNS reflects the change. This article explains the failure mechanism, how to confirm it during an incident, and how to build a functional freshness probe that pages you when DNS programming lags reality.

What this means

The kubernetes plugin does not query the API server per DNS request. It maintains a persistent watch (an HTTP/2 stream) and builds an in-memory record set from the events that stream delivers. Serving DNS and receiving updates are two independent paths. The serving path can be perfect while the update path is dead.

When the watch drops silently:

  • New Services and EndpointSlices never appear in DNS.
  • Deleted Services keep resolving indefinitely.
  • Scaled-down pods keep appearing in headless Service answers.
  • coredns_dns_requests_total, latency histograms, cache metrics, and RCODE distributions all look normal.

There is no binary “watch broken” metric in CoreDNS. The coredns_kubernetes_dns_programming_duration_seconds histogram comes closest, but it has two fatal gaps for this failure: it only measures events that actually arrive (a dead watch delivers no events, so the histogram goes flat and quiet), and it currently only works reliably for headless_with_selector services. A silent full disconnect produces no anomaly in it at all.

flowchart LR
  API[Kubernetes API server] -->|watch events| K[kubernetes plugin snapshot]
  K -->|answers from snapshot| CL[cluster clients]
  NET[network partition / RBAC / API overload] -.->|watch drops silently| K
  K -->|stale answers, no errors| CL
  M[standard metrics] -->|all green| OPS[operator]
  PROBE[synthetic freshness probe] -->|create Service, verify resolution| API
  PROBE -->|detects staleness| OPS

Common causes

CauseWhat it looks likeFirst thing to check
Network partition between CoreDNS and the API serverWatch errors in CoreDNS logs; rest client request errors (5xx or connection failures)coredns_kubernetes_rest_client_requests_total by code; logs for watch/list errors
API server overload refusing or starving watch connectionsHigh API latency before the disconnect; programming duration climbing beforehandcoredns_kubernetes_rest_client_request_duration_seconds
RBAC permission change revoking watch accesscode=403 on rest client requests; watch never re-establishesFilter rest client metric for 403; audit recent RBAC changes
NetworkPolicy blocking CoreDNS to API server (port 443)Watch fails after a policy rollout; common after security tighteningTest API reachability from inside the CoreDNS pod
CoreDNS version with known watch bugsStale data after any protracted API disconnectionCoreDNS version; see below

One version note: CoreDNS before 1.7.0 had a tombstone-handling bug where delete events received after a watch reconnection were silently dropped, so Services deleted during an API outage stayed in DNS indefinitely. This was fixed in 1.7.0. The same release removed the resyncperiod option, which never actually re-listed from the API server anyway. If you are running anything older than 1.7.0, upgrade before doing anything else. On current versions the same mechanism still applies: a watch that never reconnects, or reconnects and misses events, leaves stale data until the pod restarts.

Quick checks

These are all read-only or create a trivial throwaway Service. The official CoreDNS image is shell-less (no sh, wget, or curl), so for the kubectl exec checks below, run them from a debug container on the same node, or use kubectl port-forward <coredns-pod> 9153:9153 and curl from your machine.

# 1. Look for watch/list errors in CoreDNS logs (the only place this failure leaves a trace)
kubectl logs -n kube-system <coredns-pod> --tail=200 | grep -iE "watch|list|error|retry|disconnect"

# 2. Check API request health by status code
kubectl exec -n kube-system <coredns-pod> -- wget -qO- http://localhost:9153/metrics \
  | grep 'coredns_kubernetes_rest_client_requests_total'

# 3. Test API reachability from inside the pod
kubectl exec -n kube-system <coredns-pod> -- \
  wget -qO- https://kubernetes.default.svc.cluster.local/healthz --no-check-certificate

# 4. Functional freshness test: create a Service and see if it resolves
kubectl create service clusterip test-dns-delay --tcp=80:80
nslookup test-dns-delay.default.svc.cluster.local <coredns-ip>
kubectl delete service test-dns-delay

# 5. Negative test: does a Service you deleted earlier still resolve?
nslookup <deleted-service>.<ns>.svc.cluster.local <coredns-ip>

# 6. Check programming duration (helps only for headless_with_selector services)
kubectl exec -n kube-system <coredns-pod> -- wget -qO- http://localhost:9153/metrics \
  | grep 'coredns_kubernetes_dns_programming_duration'

Step 4 is the decisive check. If a freshly created Service does not resolve within a few seconds, or a deleted Service still resolves in step 5, you have stale data regardless of what the dashboards say.

How to diagnose it

  1. Confirm the symptom is staleness, not a resolution failure. A new Service returning NXDOMAIN could also be a readiness or zone-matching issue. Staleness is confirmed when step 5 above (deleted Service still resolving) reproduces. Old data persisting is the signature.

  2. Check the logs. Watch disconnect and re-list failures are logged by the kubernetes plugin. This is one of the few CoreDNS failures where logs, not metrics, are the primary evidence.

  3. Check the rest client metric by code. Sustained 5xx or connection errors on coredns_kubernetes_rest_client_requests_total corroborate API-side trouble. 403 points at RBAC. Absence of recent WATCH activity is itself suspicious.

  4. Test connectivity from the pod. If wget to the API healthz endpoint fails, the problem is the network path or a NetworkPolicy, not the API server.

  5. Check every replica. With two CoreDNS pods behind kube-dns, only one may have a broken watch. Half your queries get fresh answers and half get stale ones, which makes application symptoms maddeningly intermittent. Run the freshness test against each pod IP individually, not just the ClusterIP.

  6. Estimate the drift window. CoreDNS logs and the rest client metric tell you roughly when the watch died. Everything created, deleted, or rescaled since then is suspect. This matters for the post-incident sweep.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
coredns_kubernetes_rest_client_requests_total (by code, method)The only metric proxy for watch/API healthSustained 5xx, any 403, or WATCH activity going quiet
coredns_kubernetes_rest_client_request_duration_secondsAPI slowness precedes watch failuresP99 sustained above 1s
coredns_kubernetes_dns_programming_duration_secondsTime from API change to DNS answer, for events that do arriveP99 above 30s (headless_with_selector only)
/ready on port 8181Plugin-aware readiness; catches initial sync failurePod alive but not ready beyond 60s
CoreDNS logs (watch/list errors)Primary evidence for silent disconnectsAny recurring watch reconnect or list failure
Functional freshness probeThe only direct staleness detectorProbe Service not resolving, or stale deletes

Note what is deliberately absent: query rate, latency, cache hit ratio, SERVFAIL rate. They stay green through this entire failure, and including them as detectors would be noise.

Fixes

Restart the affected pod

Restarting CoreDNS forces a full re-list from the API server and rebuilds the snapshot from current state. This is the one case where a restart is the actual fix, not a superstition: there is no runtime command to force reconciliation, and CoreDNS has no periodic full-resync mechanism.

# Restart only the replica confirmed stale (from diagnosis step 5)
kubectl delete pod -n kube-system <stale-coredns-pod>

Tradeoff: the re-list in a large cluster is a memory spike and an API load burst. If the pod was already near its memory limit, the restart can trigger an OOM loop, so check headroom first. Restart one replica at a time and verify freshness on each before moving on.

Fix the underlying cause

A restart restores fresh data, but the watch will die again if the root cause persists:

  • NetworkPolicy: allow CoreDNS pods egress to the API server on 443.
  • RBAC: restore the ServiceAccount’s watch/list permissions on Services, EndpointSlices, and (if used) Pods.
  • API overload: that is a control plane incident of its own; stale DNS is a downstream symptom.

Post-incident sweep

List everything that changed in the cluster during the drift window and verify each one resolves correctly now. Deployments made during the window may have pods that cached the bad answer or failed at startup; some workloads need a nudge to recover.

Building a functional freshness probe

This is the prevention that actually matters. The probe answers one question: does a change I just made in the Kubernetes API show up in CoreDNS answers within N seconds?

Design decisions:

  • Create-based, not read-based. Reading a known Service only proves the snapshot contains it, not that it is current. Creating and deleting a throwaway Service exercises both the add path and the delete path. The API overhead of one tiny Service per minute is negligible.
  • Probe every replica individually. Query each CoreDNS pod IP directly. Probing through the kube-dns ClusterIP load-balances across replicas and can mask one stale pod for hours.
  • Measure programming lag, not just pass/fail. Record the seconds from Service creation to first successful resolution. A rising trend warns you before hard failures start.

Run it as a CronJob (or a small always-running Deployment) every 30 to 60 seconds:

# Probe loop, run per CoreDNS pod IP
kubectl create service clusterip dns-freshness-probe --tcp=80:80 -n kube-system
START=$(date +%s)
# Rely on the nslookup exit code: it is non-zero on NXDOMAIN.
# Do not grep the output for "Address"; the server line matches even on failure.
while ! nslookup dns-freshness-probe.kube-system.svc.cluster.local <coredns-pod-ip> >/dev/null 2>&1; do
  sleep 1
  if [ $(( $(date +%s) - START )) -gt 30 ]; then
    echo "FAIL: probe Service not resolving after 30s"; break
  fi
done
echo "Programming lag: $(( $(date +%s) - START ))s"
kubectl delete service dns-freshness-probe -n kube-system
# Follow-up: verify the deleted probe name stops resolving (delete path)

Alerting policy:

  • Page on 2 to 3 consecutive probe failures against any single replica. One failure can be a transient API hiccup; three in a row means the watch is dead.
  • Ticket when programming lag exceeds 30 seconds without failing outright, matching the severity threshold for coredns_kubernetes_dns_programming_duration_seconds.
  • Pair probe failures with coredns_kubernetes_rest_client_requests_total error codes before paging, to distinguish “CoreDNS watch broken” from “whole API server down” (the latter pages via its own alerts).

If you already run Prometheus Blackbox Exporter you can execute the DNS half of the check with its DNS probe module, but the create/delete step still needs something with a Kubernetes client. Keep both halves in one job so the lag measurement is end-to-end.

Prevention

  • Deploy the freshness probe. This is the non-negotiable item. Every other measure on this list reduces frequency; only the probe guarantees detection.
  • Alert on rest client errors. Sustained 5xx or any 403 on coredns_kubernetes_rest_client_requests_total is a ticket before staleness sets in.
  • Monitor per replica. Divergence between replicas (one pod’s programming duration rising, one flat) is an early staleness indicator.
  • Log watch events somewhere searchable. During this incident, logs are the primary evidence. Make sure CoreDNS container logs are retained long enough to reconstruct the drift window.
  • Keep CoreDNS current. The post-disconnect tombstone bug was fixed in 1.7.0; running anything older turns every API blip into permanent stale deletes.
  • Review NetworkPolicy and RBAC changes as a class. Any change touching kube-system egress or the CoreDNS ServiceAccount should trigger a freshness probe run as a post-deploy check.

How Netdata helps

  • Netdata charts coredns_kubernetes_rest_client_requests_total broken down by HTTP status code and method, so a watch going quiet or flipping to 403s is visible as a pattern shift, not buried in an aggregate.
  • coredns_kubernetes_dns_programming_duration_seconds percentiles are graphed per service_kind, making programming-lag regressions on headless services visible before the probe starts failing.
  • Per-pod metric collection keeps replica divergence visible: one CoreDNS pod with a dying watch shows up as that pod’s API activity diverging from its peers rather than being averaged away.
  • Correlating rest client errors with CoreDNS logs and pod restarts in one timeline shortens the “is it the network, RBAC, or the API server?” triage loop.
  • Netdata’s anomaly detection on the rest client request rate catches the subtle version of this failure, where watch traffic fades out gradually rather than erroring.