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 / zookeeper / zookeeper-datalogdir-not-separated

Operations Guides

ZooKeeper dataLogDir sharing a disk with snapshots: the #1 fsync-latency footgun

You are chasing intermittent ZooKeeper write-latency spikes that appear to have no cause. Average latency is fine most of the time. Then, every few minutes, p99 update latency jumps by an order of magnitude, zk_outstanding_requests briefly climbs, and clients on tight timeouts see a flicker of connection churn. By the time you SSH in, the cluster looks healthy again.

The disk is not full, iostat averages look reasonable, and the spikes do not line up with any obvious workload change. The transaction log and snapshot directory are both on the same volume, and that is exactly the problem.

If dataLogDir is not explicitly set in zoo.cfg, ZooKeeper writes transaction-log fsyncs and snapshot files to the same directory on the same device. The transaction log is the most latency-sensitive I/O path in ZooKeeper: every write request blocks on an fsync before it can be acknowledged. A snapshot is a large bulk serialization of the entire data tree. When both share a disk, every snapshot run collides with the fsync queue, and you get write stalls that look random because snapshot timing is randomized.

What this means

ZooKeeper has two on-disk artifacts with very different I/O characteristics.

The transaction log (dataLogDir/version-2/log.<zxid>) is a write-ahead log. Every mutation is appended and fsynced before the operation is acknowledged to a quorum. On a healthy dedicated SSD, fsync completes in under 2 milliseconds. This is the path that determines write latency for the entire ensemble.

The snapshot (dataDir/version-2/snapshot.<zxid>) is a fuzzy serialization of the entire in-memory data tree. Snapshot writes are large, sequential, and asynchronous relative to the request pipeline, but they still consume disk bandwidth and write cache. A snapshot of a few-hundred-megabyte data tree can saturate a shared device for seconds.

When dataLogDir is unset, both writes land on the same directory and the same device. ZooKeeper pre-allocates transaction log files in 64MB chunks for sequential append, and a snapshot bursts into the middle of that sequential stream. The result is fsync latency spikes that align with snapshot creation, followed by write-latency propagation through the rest of the pipeline.

The default snapCount is 100,000 transactions, with randomization so ensemble members do not snapshot simultaneously. In ZooKeeper 3.6.0 and later, snapSizeLimitInKb adds a log-size-based trigger on top of the transaction-count trigger. Either way, snapshots fire at semi-random intervals, which is why the resulting stalls appear to come from nowhere.

flowchart TD
  A[snapCount or snapSizeLimitInKb hit] --> B[Snapshot thread serializes DataTree]
  B --> C[Bulk sequential write to dataDir]
  C --> D{dataLogDir on same device?}
  D -- yes, the default --> E[txnlog fsync stalls behind snapshot I/O]
  E --> F[zk_fsynctime p99 spikes]
  F --> G[zk_updatelatency p99 follows]
  G --> H[zk_outstanding_requests climbs]
  H --> I[Quorum ACK latency rises]
  I --> J[Possible leader heartbeat miss]

The propagation chain is what makes this footgun hard to spot. The disk is the root cause, but the visible pain is in write latency, request queuing, and (in the worst case) missed heartbeats. Operators chase the symptoms individually and miss the shared disk underneath.

Common causes

CauseWhat it looks likeFirst thing to check
dataLogDir unset in zoo.cfgfsync p99 spikes that line up with snapshot file mtimes; default installgrep dataLogDir zoo.cfg returns nothing
dataLogDir set but on same underlying deviceSame symptom as unset; LVM or RAID presents one device as twolsblk and findmnt for both paths
Cloud burst credits exhausted on shared volumeSpikes also occur outside snapshot windows; cloud IOPS metric at limitCloud provider IOPS or burst-balance metric
Colocated workload writing to same diskSpikes line up with non-ZooKeeper process I/Oiotop or iostat -x during the spike

Quick checks

# Is dataLogDir explicitly set?
grep -E '^dataLogDir' /etc/zookeeper/zoo.cfg

# Where is dataDir?
grep -E '^dataDir' /etc/zookeeper/zoo.cfg

# Are the two paths on the same block device?
findmnt -n -o SOURCE /var/lib/zookeeper/data
findmnt -n -o SOURCE /var/lib/zookeeper/log

# Look at recent fsync warnings
grep "fsync-ing the write ahead log" /var/log/zookeeper/zookeeper.log | tail -20

# Are snapshot file mtimes correlated with the fsync warnings?
ls -lt /var/lib/zookeeper/data/version-2/snapshot.* | head -10

# Latest fsync percentile (ZK 3.6+)
echo mntr | nc localhost 2181 | grep -E 'zk_.*fsynctime'

# Threshold-exceed counter on ZK 3.4.x
echo mntr | nc localhost 2181 | grep zk_fsync_threshold_exceed_count

If dataLogDir is unset and the fsync warning timestamps line up with snapshot file modification times, you have your answer. If dataLogDir is set but findmnt shows both paths on the same block device, you have the same problem with an extra layer of misdirection.

Note: mntr and other four-letter-word commands require whitelisting via 4lw.commands.whitelist in ZooKeeper 3.5+.

How to diagnose it

  1. Capture the spike at per-second resolution. Collect zk_p99_fsynctime, zk_p99_updatelatency, and zk_outstanding_requests at one-second granularity. Minute-level scraping will hide the burst pattern because snapshots complete quickly.

  2. Confirm snapshot alignment. List snapshot files with modification times and overlay them on the fsync p99 chart. The signature of this footgun is a fsync spike within a few seconds of every snapshot file mtime.

  3. Rule out other disk pressure. During a spike, run iostat -x 1 against the underlying device. If %util approaches 100 and await spikes while snapshot I/O is in flight, you have confirmed contention. If %util is low but await is high, suspect cloud burst credit exhaustion or storage throttling instead.

  4. Rule out GC. Check JVM pause metrics. GC pauses produce a similar write-stall signature, but they also produce read-latency spikes. Pure disk contention leaves read latency on followers unaffected.

  5. Check the leader specifically. Because the leader fsyncs before broadcasting proposals, leader fsync contention is what actually stalls the ensemble. Filter mntr output to the node reporting zk_server_state leader and read the fsync percentiles there.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
zk_p99_fsynctime (3.6+)Direct measure of the latency-critical disk pathSustained p99 above 10 ms; spikes above 100 ms
zk_fsync_threshold_exceed_count (3.4.x)Counter of fsyncs exceeding fsync.warningthresholdms (default 1000 ms)Any non-zero increment rate
zk_p99_updatelatencyWhether fsync spikes are propagating to clientsTracks fsynctime upward
zk_outstanding_requests on leaderWhether the write pipeline is queuing behind diskSustained non-zero value
zk_p99_quorum_ack_latencyWhether followers are also blocked on their own fsyncElevated on leader
Snapshot file mtimeAnchors the timing of bulk I/O eventsLines up with fsync spikes
OS-level %util and await on the deviceDistinguishes contention from throttlingSpikes to saturation during snapshot writes

The zk_avg_fsynctime and zk_avg_latency aggregates will under-report the problem. Snapshot contention produces short, sharp bursts that wash out in any average. Use the percentile metrics added in 3.6, or compute deltas against the threshold counter on older versions.

Fixes

Move dataLogDir to a dedicated device

This is the canonical fix and the single highest-leverage configuration change in ZooKeeper. Even a small dedicated SSD is enough. The transaction log is append-only and never read at runtime, so capacity matters less than latency.

Procedure (rolling, one node at a time, leader last):

  1. Provision the new device. Format and mount it. The ZooKeeper documentation is explicit that a dedicated partition is not enough; the goal is a device that does only transaction-log appends and nothing else.

  2. Stop the node.

    # Stop the local ZooKeeper node (distro-specific; example for systemd)
    systemctl stop zookeeper
    
  3. Create the new directory and copy the current transaction log files. ZooKeeper expects the version-2 subdirectory to exist and to contain the current log files.

    mkdir -p /var/lib/zookeeper/log/version-2
    cp -a /var/lib/zookeeper/data/version-2/log.* /var/lib/zookeeper/log/version-2/
    chown -R zookeeper:zookeeper /var/lib/zookeeper/log
    
  4. Set dataLogDir in zoo.cfg.

    dataDir=/var/lib/zookeeper/data
    dataLogDir=/var/lib/zookeeper/log
    
  5. Restart the node. On the first restart after this change, expect a warning of the form Snapshot directory has log files. Check if dataLogDir and dataDir configuration is correct. if any log.* files remain under dataDir/version-2. Removing or moving them out of the snapshot directory resolves the warning.

    systemctl start zookeeper
    echo ruok | nc localhost 2181     # should return imok
    echo mntr | nc localhost 2181 | grep zk_server_state
    
  6. Repeat per node, leader last, verifying quorum is intact between each restart.

When you cannot add a dedicated physical device

If a separate physical device is genuinely unavailable, the next-best options are, in decreasing order of effectiveness:

  • A separate cloud volume attached to the instance. Even a small provisioned-IOPS volume outperforms a shared gp2/gp3 for this workload.
  • A separate partition on the same device. This is the weakest mitigation. It helps with filesystem journal contention but does not isolate the underlying disk’s write cache or queue, so snapshot writes still interfere with fsync.

The ZooKeeper documentation’s wording on this is direct: a dedicated partition is not enough. The transaction log wants a device that does only sequential appends and nothing else.

Do not set forceSync=no

A common reflex when chasing fsync latency is to set zookeeper.forceSync=no. This skips the fsync call after each transaction-log write, relying on the OS page cache instead. It eliminates the warning and the latency, but it also weakens durability. On a leader crash you can lose acknowledged transactions, which means divergent ensemble state. The ZooKeeper documentation classifies this as an unsafe option. Do not use it to mask the underlying contention.

Prevention

  • Make dataLogDir on a dedicated device a provisioning default. Bake it into the AMI, image, Helm chart, or configuration-management module. The default install leaves it unset because that is the simplest path that works in dev, not because it is safe in production.
  • Monitor zk_p99_fsynctime directly. Most teams monitor disk space but not disk latency. Disk space and disk latency are independent failure modes, and the latency signal is the one that predicts write stalls.
  • Track snapshot file mtimes alongside fsync metrics. When the two correlate, the diagnosis is seconds instead of hours.
  • Enable autopurge. Set autopurge.purgeInterval and autopurge.snapRetainCount so that old logs and snapshots do not accumulate and shift the contention profile over time.
  • For cloud deployments, monitor burst credit balances. Volumes with burstable IOPS can produce sudden cliffs when credits run out. The cliff often lines up with the next snapshot run and produces a compounded spike.

How Netdata helps

  • Per-second collection of zk_fsynctime percentiles and zk_updatelatency percentiles makes the burst pattern visible at the resolution it actually occurs. Minute-level scraping averages the spikes away.
  • ML anomaly detection on zk_p99_fsynctime flags snapshot-correlated spikes as anomalous even when the absolute value is below a static threshold, which is the typical early-warning signature for this footgun.
  • Correlated charts of zk_outstanding_requests, zk_updatelatency, and OS-level disk await on the same timeline let you distinguish disk contention from GC in a single view instead of pivoting across tools.
  • The ZooKeeper collector auto-detects the leader and surfaces leader-specific metrics separately, so leader fsync contention is not hidden by averaging across the ensemble.
  • Filesystem and disk collectors surface the underlying device’s %util, await, and (on cloud) IOPS figures, letting you distinguish shared-disk contention from cloud throttling without a separate monitoring stack.