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 / zfs / zfs-how-it-works-in-production ▌

Operations Guides

How ZFS actually works in production: a mental model for operators

Every ZFS incident traces back to a small set of internal mechanisms. A write freeze at 3 a.m. is the transaction group pipeline stalling. A server that “runs out of memory” with gigabytes free is the ARC doing exactly what it was designed to do. A pool that was fine at 78% full and unusable at 88% is the metaslab allocator crossing a threshold, not a disk dying.

This article is the mental model layer: what ZFS is doing internally at all times, which resources it competes for, and why its characteristic failures look the way they do. It is the prerequisite for the operational runbooks. You cannot interpret a TXG sync time, an ARC hit ratio, or a fragmentation percentage without knowing the machinery that produces those numbers.

The examples use OpenZFS on Linux paths (/proc/spl/kstat/zfs/...). On FreeBSD and illumos the subsystems are the same but kstat paths, tunable names, and some defaults differ.

What ZFS is and why it matters

ZFS is a combined filesystem and volume manager. It owns the disks directly, manages redundancy (mirrors, RAIDZ, dRAID) without a hardware RAID controller, and layers datasets, snapshots, compression, checksumming, and optional encryption on top. Because it controls the whole stack from filesystem semantics down to block allocation, its failure modes are also end-to-end: a capacity problem becomes an allocator problem becomes a latency problem becomes an application outage, all inside one subsystem.

The operator consequence: you cannot monitor ZFS the way you monitor ext4 on LVM. Pool state, cache behavior, write batching, and physical layout are all first-class signals, and the interesting failures are almost always interactions between them.

Copy-on-write: the decision that drives everything

ZFS never overwrites existing data. Every write lands in a new location on disk, and the block pointers above it are updated atomically up the tree to the uberblock. This single decision cascades into nearly every operational behavior:

  • Snapshots are cheap to take, expensive to hold. A snapshot just pins the old block pointers. The cost arrives later, when the live dataset diverges and the snapshot holds references to blocks that have been logically deleted. Deleting files does not free pool space while a snapshot references those blocks.
  • There is no in-place defragmentation. Because data is always written to new locations, free space scatters over time. zpool scrub verifies checksums; it does not defragment anything. The only “defrag” is zfs send | zfs recv into a fresh pool.
  • Deletes need free space too. Deleting files or snapshots is itself a COW operation that must write new metadata. A pool that is completely full can enter a state where freeing space requires space. ZFS reserves slop space (about 3.125% of pool size, with a per-pool cap of 128 GiB added in OpenZFS 2.1) for exactly this reason, and user writes fail before that reserve is consumed.
  • Crash consistency is structural. Since nothing is ever overwritten in place, a crash cannot leave a half-written block tree. There is no fsck. The ZIL (below) covers the synchronous-write window.

Transaction groups: the write path is a batch system

ZFS does not write when your application writes. It accumulates writes in memory and commits them to disk in transaction groups (TXGs), flushed periodically: default every 5 seconds, controlled by zfs_txg_timeout. Three TXGs are always in flight:

  • Open: accepting new writes.
  • Quiescing: finalizing, no longer accepting writes.
  • Syncing: being written to stable storage.

This is why ZFS write latency is bimodal. Most writes complete at memory speed. The pain arrives when the syncing TXG cannot finish within the timeout: the open TXG keeps accumulating dirty data, the next sync is even bigger, and the cycle compounds. ZFS defends itself with a dirty data limit (zfs_dirty_data_max): a throttle engages at zfs_delay_min_dirty_percent of that limit (default 60%) and a hard stall at the limit itself. Applications experience this as sudden write freezes lasting seconds to tens of seconds while reads from cache continue normally.

You can watch this directly. Each pool keeps a TXG history at /proc/spl/kstat/zfs/<pool>/txgs; the stime field is the sync phase duration in nanoseconds and ndirty is the dirty bytes per TXG. If stime consistently exceeds zfs_txg_timeout, the storage cannot keep up with the write rate.

The ARC: a read cache that lies to free

The Adaptive Replacement Cache is ZFS’s primary read cache, in kernel memory. It maintains MRU and MFU lists plus their ghost counterparts, and shifts the balance between recently-used and frequently-used blocks based on workload. It caches both data and metadata, and it grows and shrinks in response to memory pressure.

Two operational facts matter more than the algorithm:

  1. On Linux, ARC memory lives outside the kernel page cache. It appears as “used” (in slab) in free and top, but it is reclaimable. Operators routinely misdiagnose a healthy system as memory-starved because of this. The ground truth is /proc/spl/kstat/zfs/arcstats: size (current), c (dynamic target), c_min, c_max, plus hits and misses.
  2. Uncapped ARC plus other memory-hungry processes is an OOM cascade. The Linux OOM killer does not reliably account for ARC as reclaimable, and ARC does not shrink instantly under sudden pressure. On shared machines, set zfs_arc_max explicitly. The memory_throttle_count field in arcstats increments when I/O is being throttled due to memory pressure: that is your early warning.

Two optional extensions attach to the ARC. The L2ARC is an SSD-backed second tier fed by ARC evictions; it needs warmup (a cold L2ARC provides no benefit), it persists across reboots by default since OpenZFS 2.0 (l2arc_rebuild_enabled=1), and its index consumes ARC RAM, roughly 70 bytes per cached block, so an oversized L2ARC on a RAM-constrained host can be a net negative. If deduplication is enabled, the dedup table (DDT) lives in the ARC at roughly 320 bytes per block; a DDT that outgrows the ARC forces every write into random disk lookups for table entries and is one of the classic unrecoverable performance cliffs.

The ZIL and SLOG: underwriting synchronous writes

The TXG pipeline is asynchronous. Anything that demands synchronous semantics (O_SYNC, fsync, NFS, database commit logs) cannot wait up to 5 seconds for the next TXG, so ZFS writes an intent record to the ZFS Intent Log before acknowledging the write. The ZIL guarantees that if the system crashes between the acknowledgment and the TXG commit, the intent can be replayed on pool import.

Operationally:

  • In normal operation the ZIL is write-only. It is only read during import after an unclean shutdown. Once the TXG commits, the ZIL space is reclaimed.
  • Without a SLOG, the ZIL lives on the pool’s data vdevs. Sync write latency becomes pool latency: tens of milliseconds on spinning disk.
  • A SLOG (separate log device) moves the ZIL to a dedicated fast device. Sync write latency becomes SLOG latency. This is the entire reason SLOGs exist, and they only help synchronous workloads; an all-async workload gets nothing from one.
  • SLOG failure is a performance event, not a data event. ZFS falls back to the pool-based ZIL. The pool stays ONLINE, zpool status -x says everything is healthy, and your database’s commit latency just jumped by one or two orders of magnitude. Mirror your SLOG; a lone SLOG that dies concurrent with a crash can lose acknowledged writes.
  • There is no ZIL latency metric. The kstat at /proc/spl/kstat/zfs/zil exposes commit, writer, stall, and error counters, but latency must be inferred from application-level fsync timing.

The SPA and metaslab allocator: the capacity cliff is real

The Storage Pool Allocator owns physical allocation, vdev topology, redundancy, and I/O scheduling. Each top-level vdev is divided into metaslabs, fixed-size chunks, and every allocation picks a metaslab and carves space out of it.

This is the mechanism behind the most infamous ZFS failure: the capacity-fragmentation cliff. When an individual metaslab has only a few percent of free space left, its allocator switches from the fast first-fit path to an expensive best-fit scan below metaslab_df_free_pct=4% of metaslab free space, and fragmented free space forces sequential writes into scattered physical locations. The effect is non-linear: the pool looks fine at 75%, starts degrading through the 80s, and falls apart above 90%. The commonly cited “keep it under 80%” rule is a conservative proxy for per-metaslab behavior, which is why the actual pain threshold varies with workload and vdev size. Free space is tracked in space maps, log-structured allocation records, which on heavily fragmented pools also grow large and slow down pool import.

Two practical implications. First, monitor capacity and fragmentation together (zpool list -o name,cap,frag): a pool at 70% with 50% fragmentation is already degraded for write-heavy workloads. Second, fragmentation cannot be fixed in place; the remediation is send/recv to a new pool, so the only real strategy is not getting there.

The DMU and ZIO pipeline: where every block is processed

Between the filesystem semantics and the disks sit two layers. The Data Management Unit (DMU) translates logical objects (files, directories, zvols) into blocks and handles the operations applied to them: compression, checksumming, encryption, copy-on-write, and dnode management. The ZIO pipeline then moves every block through a staged pipeline: issue, wait, checksum, compress, encrypt, vdev I/O, done. Each stage queues independently with its own thread pool.

flowchart TD
  A[Application write] --> B[DMU: block mapping]
  B --> C{Sync write?}
  C -- yes --> D[ZIL / SLOG: record intent]
  C -- no --> E[Open TXG: accumulate dirty data]
  D --> E
  E --> F[TXG quiescing]
  F --> G[TXG syncing]
  G --> H[ZIO pipeline: checksum, compress, encrypt]
  H --> I[Vdevs: mirror / RAIDZ / dRAID]
  J[Application read] --> K{In ARC?}
  K -- yes --> L[Serve from RAM]
  K -- no --> I

This pipeline explains where CPU goes on a ZFS host: checksumming, compression, and encryption run on every block, on every read and every write. On a CPU-bound system, adding faster disks changes nothing. It also explains reported-versus-actual throughput: with compression on (the default), the bytes ZFS reports and the bytes the disks see are not the same number, and write amplification from metadata, parity, and COW overhead of 2-3x on small random writes to RAIDZ is structural, not a symptom.

Vdev redundancy: what failure actually looks like

The SPA builds redundancy from vdevs: mirrors, RAIDZ1/2/3, or dRAID (OpenZFS 2.0+). The operational differences that matter:

  • Failure is masked. A dead disk in a mirror or RAIDZ leaves the pool DEGRADED and serving I/O. DEGRADED means redundancy is reduced, not that I/O is down. The next failure in the same vdev group is data loss.
  • Resilver profiles differ fundamentally. Mirror resilver copies the device with sequential I/O. RAIDZ resilver walks the block tree and reconstructs allocated blocks, which is slow, random I/O proportional to used space. On large HDD RAIDZ pools, resilvers run for hours to days, and the entire window is spent at reduced redundancy while competing with production I/O.
  • Checksums turn silent corruption into a visible signal. Every block is verified against its checksum on read and on scrub. With redundancy, ZFS repairs bad blocks transparently and increments the per-device CKSUM counter in zpool status. Without redundancy, a checksum error is data loss, and the pool stays ONLINE the whole time. This is why scrubs (the scan: line in zpool status) are the only integrity assurance you have: CKSUM of zero with no recent scrub means zero errors detected, not zero errors.

Signals to watch in production

SignalSourceWhat it tells you
TXG sync duration (stime)/proc/spl/kstat/zfs/<pool>/txgsWhether storage keeps up with writes. Sustained stime over zfs_txg_timeout (default 5s) means write saturation.
Dirty data vs limitndirty in txgs; /sys/module/zfs/parameters/zfs_dirty_data_maxHow close the write pipeline is to throttling (60% of max) or a hard stall.
ARC size, target, hit rate/proc/spl/kstat/zfs/arcstats (size, c, c_max, hits, misses)Cache effectiveness and whether memory pressure is shrinking the ARC.
memory_throttle_count/proc/spl/kstat/zfs/arcstatsI/O actively throttled by memory pressure: the pre-OOM signal.
Pool capacity and fragmentationzpool list -o name,cap,fragDistance from the allocator cliff. Trend both together.
Pool and vdev state, error counterszpool status -vDEGRADED is lost redundancy. Any non-zero READ/WRITE/CKSUM needs hardware investigation.
Scrub status and permanent errorszpool status scan line and errors sectionThe only data-integrity verification. Uncorrectable errors mean data loss has already occurred.
Per-vdev latency and queue depthzpool iostat -l -w -q -vFinds the single slow device and separates backend saturation from internal ZFS stalls.
ZIL stall/error counters/proc/spl/kstat/zfs/zilSLOG trouble. Pair with application fsync latency; no direct ZIL latency metric exists.
Deadman eventszpool eventsAn I/O or TXG sync that exceeded the deadman timers (zfs_deadman_ziotime_ms default 5 minutes, zfs_deadman_synctime_ms default 10 minutes). Always real, always critical.

How Netdata helps

The mechanisms above produce signals that are only meaningful in combination, and that is where continuous per-second collection pays off:

  • TXG health: Netdata tracks TXG sync duration and dirty data per pool, so a write-pipeline stall shows up as a rising trend seconds before applications start freezing, not after.
  • ARC behavior: ARC size, target, hit rate, and memory_throttle_count are charted alongside system memory, which makes the “ARC squeezed the apps” cascade visible as a single correlated view instead of two unrelated dashboards.
  • The capacity cliff: capacity and fragmentation trended together, with growth-rate context, turns the non-linear allocator cliff into a linear planning problem weeks in advance.
  • Hardware degradation: per-vdev READ/WRITE/CKSUM counters and latency histograms are retained as time series, so the slow-dying-disk pattern (counters creeping, latency diverging from peers, pool still ONLINE) is caught while redundancy is still intact.
  • Scrub and SLOG blind spots: scrub recency and results, ZIL stall counters, and SLOG device state are monitored explicitly, covering the two failure modes that leave zpool status -x saying “all pools are healthy” while data or performance is actually at risk.