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-ttl-zero-defeats-cache ▌

Operations Guides

CoreDNS TTL=0 responses: the anti-pattern that silently bypasses the cache

Your cache hit ratio is sliding. Upstream query volume is climbing. P99 latency is drifting up with it. You open the Corefile and the cache plugin is right there, configured the way it has been for months. Nothing changed on your side, but the cache has effectively stopped working.

A common cause is records arriving with TTL=0. When an upstream resolver, or your own zone data, answers with a zero TTL, those answers are uncacheable by contract: every client query for that name has to be forwarded again. The cache plugin is present and correct, but there is nothing for it to hold on to. It looks like a cache failure but is actually a data problem arriving through the response path.

This is easy to miss because nothing errors. Queries succeed and responses are correct. The only symptoms are the slow-motion ones: hit ratio decay, upstream load multiplying, latency climbing in lockstep. This guide covers how to confirm TTL=0 is the cause, how to distinguish it from the other reasons a hit ratio collapses, and how to floor TTLs at the CoreDNS layer when you cannot fix the source.

What this means

The cache plugin keeps an in-memory LRU with separate positive (success) and negative (denial) caches. Whether an answer gets cached, and for how long, is governed by the TTL on the records in the response. A TTL of zero tells any caching layer “do not reuse this.” Every subsequent query for the same name is a cache miss and a fresh upstream round trip.

The blast radius depends on how popular the zero-TTL names are. One hot name with TTL=0 and thousands of clients behind it means the cache does nothing for your highest-volume traffic, while cold names with normal TTLs keep the aggregate hit ratio looking merely mediocre instead of zero. That masking effect is why this survives for weeks in some environments.

flowchart LR
  C[Client query] --> CE{In cache?}
  CE -->|yes| H[Serve from cache, sub-ms]
  CE -->|no| F[Forward to upstream]
  F --> R{Response TTL?}
  R -->|TTL > 0| S[Store in cache, serve]
  R -->|TTL = 0| N[Serve, do not retain]
  N --> C

One nuance before you start: the cache plugin applies a minimum TTL (MINTTL, default 5 seconds) to what it stores, so a zero-TTL answer is not always literally dropped — the stored TTL is floored at MINTTL (5s by default). What those entries do in practice is churn: they expire within seconds, so only names queried faster than that interval get any hits, and everything else misses. The entries still occupy cache slots and add eviction pressure while contributing almost nothing. If an operator has explicitly overridden the minimum TTL down to 0, the bypass is total. Either way, the observable signature is the same: misses on names that should be hot.

Common causes

CauseWhat it looks likeFirst thing to check
Upstream returns TTL=0 for specific zonesHit ratio dropped after an upstream or authoritative change; misses concentrate on certain namesdig the name against the upstream and read the TTL column in the answer
Your own zone data has TTL=0Cluster-internal or authoritative names never cache; forwarded names cache fineInspect the zone file or backend records for $TTL 0 or per-record TTL 0
Minimum TTL explicitly set to 0 in CorefileAll short-TTL records bypass the cache, not just zero onesRead the cache block in the Corefile for an explicit minimum TTL override
Kubernetes plugin TTL set to 0cluster.local names have depressed caching while external names are fineCheck the kubernetes block for a ttl 0 directive
serve_stale in playYou see TTL=0 in responses even for names that should have real TTLsCheck the cache block for serve_stale; stale serves are returned with TTL 0 by design
Not TTL-related at allHit ratio drop correlates with a restart, rollout, or eviction storm insteadCorrelate with deploy events and coredns_cache_evictions_total

Quick checks

All of these are read-only. Run them from inside a CoreDNS pod, or wherever the metrics endpoint on port 9153 is reachable.

# Current cache hit/requests counters
curl -s http://localhost:9153/metrics | grep -E 'coredns_cache_(hits|requests)_total'

# Cache population and evictions
curl -s http://localhost:9153/metrics | grep -E 'coredns_cache_(entries|evictions_total)'

# Upstream latency, per upstream
curl -s http://localhost:9153/metrics | grep 'coredns_proxy_request_duration_seconds'

Metric naming: coredns_proxy_request_duration_seconds is only the forward plugin’s current name with a proxy_name="forward" label (CoreDNS 1.11.0+); CoreDNS 1.5 through 1.10 exported coredns_forward_request_duration_seconds.

Then check the actual TTLs on the wire. Query through CoreDNS and directly against the upstream, and compare:

# TTL as CoreDNS returns it
dig @<coredns_ip> suspicious.name.example A +noall +answer

# TTL as the upstream returns it
dig @<upstream_ip> suspicious.name.example A +noall +answer

The TTL column is the second field of each answer record. If the upstream returns 0, you have found it. If the upstream returns a real TTL but CoreDNS returns 0, something in your plugin chain (rewrite rules, serve_stale) is rewriting it.

Also read the Corefile with fresh eyes:

# Kubernetes
kubectl get cm -n kube-system coredns -o yaml

# Standalone
cat /etc/coredns/Corefile

Look at the cache block for any minimum TTL override, and at the kubernetes block for a ttl directive.

How to diagnose it

  1. Confirm the hit ratio drop is real and sustained. Compute coredns_cache_hits_total / coredns_cache_requests_total over a 30-minute window, not from raw counters. Rule out the cold-cache case first: if a CoreDNS pod restarted or the Corefile reloaded within the window, a low hit ratio is expected and self-correcting.

  2. Check whether cache entries are churning. If coredns_cache_entries stays low or flat while request volume is high, entries are not sticking around. If entries are high but coredns_cache_evictions_total is climbing, the cache is full of something useless (short-lived entries being evicted as shards fill) and you have a sizing-plus-TTL problem, not just a sizing problem.

  3. Identify which names are missing. CoreDNS does not expose per-name cache metrics, so this step is log-based. Enable the log plugin temporarily on one replica if traffic volume allows, sample the repeated queries, and pick the top recurring names. Do not leave full query logging on in a high-QPS production environment.

  4. Read the TTLs for those names using the dig commands above, both through CoreDNS and directly against the upstream. Zero from the upstream means the source is the problem. Non-zero from the upstream but zero through CoreDNS means your plugin chain is the problem.

  5. Audit the Corefile for TTL manipulation. Check the cache block for a minimum TTL set to 0, the kubernetes block for ttl 0, and any rewrite ttl rules that might be clamping downward. If serve_stale is configured, remember that stale responses intentionally carry TTL 0; that is expected behavior, not this bug.

  6. Quantify the impact. Compare upstream latency and the forwarded query rate before and after the hit ratio drop. The increase in upstream queries attributable to the zero-TTL names is your remediation priority list.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Cache hit ratio (coredns_cache_hits_total / coredns_cache_requests_total)The primary symptom; TTL=0 drives it down even with correct configDrop of more than 20% from the rolling 24h average with no restart or rollout
Cache entries (coredns_cache_entries)Shows whether entries persist or churnFlat or low entry count under high request volume
Cache evictions (coredns_cache_evictions_total)Short-lived entries waste slots and get evicted earlySustained positive rate against a stable working set
Request latency (coredns_dns_request_duration_seconds)Misses cost an upstream round tripP99 climbing in the same window as the hit ratio falls
Upstream latency (coredns_proxy_request_duration_seconds)Extra forwarded load can degrade the upstream itselfPer-upstream P99 rising as forwarded volume rises
Forward max concurrent rejects (coredns_forward_max_concurrent_rejects_total)The extreme endgame: miss-driven forward floods overwhelm the pluginAny nonzero sustained rate
Goroutine count (go_goroutines)Blocked forwarded queries accumulateGrowth disconnected from total QPS

Fixes

Fix the source if you can. Fix CoreDNS if you cannot.

Fix the authoritative source

The correct fix is at whatever is emitting TTL=0: the upstream’s authoritative zone, your own zone file ($TTL 0 or per-record zeros), or the backend driving the etcd/file/auto plugins. A zero TTL is almost never a deliberate, load-aware decision. It is usually a default someone forgot, or a “make changes instant” setting left behind from a migration. Raising it to even 30 to 60 seconds recovers most of the cache benefit for hot names.

Floor the TTL in the cache plugin

When the upstream is not yours to fix, the cache plugin’s minimum TTL forces a floor on what gets cached. With the default minimum of 5 seconds, zero-TTL answers are held briefly rather than never. If an explicit override in your Corefile set the minimum to 0, removing that override restores the floor. You can also raise the minimum for the success cache to something larger (for example 30 seconds) if the offending names change infrequently in practice.

The tradeoff: you are deliberately serving data staler than the authoritative source asked for. For records that genuinely change second-to-second (some load-balancer and failover setups), that staleness can be worse than the extra upstream load. Pick the floor based on the actual change rate of the records, not on how annoyed you are at the upstream.

Clamp TTLs with the rewrite plugin

The rewrite plugin can clamp response TTLs into a range, for example flooring anything below 30 seconds up to 30 (and optionally capping the top end too). Syntax: rewrite ttl <name> <MIN-MAX> — rewrite ttl example.com. 30-300 floors at 30 and caps at 300; -30 caps at 30; 30- floors at 30. Range support shipped in CoreDNS 1.9.4. This is more surgical than the cache minimum because it applies per-zone and changes what clients see, not just what the cache keeps. It carries the same staleness tradeoff, amplified, because clients and intermediate resolvers will also hold the record longer. Use it when you control the resolution path end to end and understand the change semantics of the names involved.

Check the kubernetes plugin TTL

If only cluster.local names are affected, look for ttl 0 in the kubernetes block. Setting the plugin TTL to 0 prevents its records from being cached and is rarely what you want in a busy cluster. Restore a small positive TTL unless you have a specific reason for per-query freshness on service names.

What not to do

Do not respond to a falling hit ratio by blindly enlarging the cache. If entries are zero-TTL, a bigger cache just holds more immediately-dead entries and the hit ratio does not move. Do not restart CoreDNS to “warm the cache” either; a restart guarantees a cold cache and makes the immediate problem worse.

Prevention

  • Alert on hit ratio trend, not just restarts. A ratio drop of more than 20% from the rolling daily baseline, sustained over 5 minutes, catches TTL regressions, eviction storms, and traffic-shape changes with one rule. Suppress it for a few minutes after pod restarts and reloads.
  • Watch evictions alongside entries. Rising evictions with stable entries means the cache is full of something. That is your early warning for both undersizing and worthless entries.
  • Sample TTLs in change review. When a new upstream, zone, or backend data source is onboarded, dig a few of its names and look at the TTLs before it goes into the forwarding path. Zero-TTL sources should be a conscious decision, not a discovery.
  • Keep the Corefile’s TTL knobs visible. Any explicit minimum TTL, rewrite ttl rule, or kubernetes plugin TTL should have a comment saying why it exists. These directives are invisible in metrics until they hurt.
  • Correlate hit ratio with upstream load in dashboards. A hit ratio falling while forwarded QPS rises proportionally is the TTL=0 signature. A hit ratio falling with flat forwarded QPS is a traffic-shape change. The pair separates the two in seconds.

How Netdata helps

  • Netdata charts coredns_cache_hits_total and coredns_cache_requests_total together, so the hit ratio decay from TTL=0 shows up as a divergence you can see at per-second resolution, not as a weekly report.
  • Correlating the cache ratio against coredns_dns_request_duration_seconds on the same dashboard confirms the latency cost is miss-driven, not upstream-driven, which is the first branch of the diagnosis.
  • Cache entries and eviction rate side by side expose the churn pattern: entries not accumulating, or evicting early, while requests stay high.
  • Per-upstream latency lets you see whether the extra forwarded load is starting to degrade the upstream itself, which changes the urgency.
  • Goroutine and Go runtime metrics catch the escalation case where miss-driven forwarding starts accumulating in-flight queries.
  • Because Netdata keeps per-second history, you can line the hit ratio drop up against deploys, Corefile reloads, and upstream changes to find the moment the zero-TTL records appeared.