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 / clickhouse / clickhouse-mutation-stuck

Operations Guides

ClickHouse mutation stuck: parts_to_do not decreasing and how to recover

Check system.mutations and find a mutation active for hours. parts_to_do has not moved in thirty minutes and parts are accumulating. Queries return, but insert latency climbs. On replicated tables, each replica processes mutations independently, so a stall on one node creates silent divergence while the rest of the cluster appears healthy.

Mutations rewrite data parts to apply ALTER UPDATE, ALTER DELETE, or projection changes. They run sequentially per table and share the background merge and mutation pool with regular merges. A stalled mutation blocks subsequent mutations for that table and consumes threads needed for merges. The result is merge starvation, insert delays, and eventually Too many parts rejections.

What this means

A stalled mutation creates a linear bottleneck per table because mutations run sequentially. On replicated tables, the stalled replica diverges until the mutation completes or is killed.

While stalled, the mutation occupies the background pool. Merges for that table slow or stop. Inserts create fresh parts that are not merged away, so active part count rises and parts_to_do stays flat.

flowchart TD
    A[Mutation starts on table] --> B{parts_to_do decreasing?}
    B -->|Yes| C[Normal progress]
    B -->|No for >30 min| D[Stalled mutation]
    D --> E[Blocks merge pool]
    E --> F[Parts accumulate]
    F --> G[Insert delays or rejections]
    D --> H[Check latest_fail_reason]
    H -->|Non-empty| I[Failing retry loop]
    H -->|Empty| J[Pool saturated or resource blocked]

Common causes

CauseWhat it looks likeFirst thing to check
Failing mutation on a specific partlatest_fail_reason is non-empty; mutation retries the same parts without progressSELECT latest_fail_reason, parts_to_do_names FROM system.mutations WHERE is_done = 0
Background pool saturationsystem.merges shows many long-running tasks; no free slots for the mutation to proceedSELECT count(*) FROM system.merges and background pool metrics from system.metrics
Replication queue blockageMUTATE_PART entries in system.replication_queue have high num_tries and exceptionsSELECT * FROM system.replication_queue WHERE type = 'MUTATE_PART'
Resource exhaustionsystem.merges is empty despite load, or disk free space is critically lowsystem.disks and MemoryTracking in system.metrics
Legitimate slow progress on large tableparts_to_do decreases very slowly over hours; no error presentSample parts_to_do at 5-minute intervals

Quick checks

-- Active mutations with failure context
SELECT database, table, mutation_id, command, create_time, parts_to_do, is_done, latest_fail_reason
FROM system.mutations
WHERE is_done = 0
ORDER BY create_time;
-- Snapshot background work to see pool contention
SELECT database, table, elapsed, progress, num_parts, is_mutation, result_part_name
FROM system.merges
ORDER BY elapsed DESC;
-- Replication queue for stuck mutation tasks
SELECT database, table, type, create_time, num_tries, last_exception
FROM system.replication_queue
WHERE type = 'MUTATE_PART'
ORDER BY num_tries DESC;
-- Disk headroom for merge and mutation temp output
SELECT name, path, formatReadableSize(free_space) AS free, formatReadableSize(total_space) AS total
FROM system.disks;
-- Server memory pressure
SELECT metric, formatReadableSize(value) AS memory
FROM system.metrics
WHERE metric = 'MemoryTracking';
-- Active part count for the affected table
SELECT count() AS active_parts
FROM system.parts
WHERE database = 'db' AND table = 'tbl' AND active = 1;

How to diagnose it

  1. Confirm the stall. Query system.mutations where is_done = 0. Note create_time and parts_to_do. Wait five minutes and re-query. If parts_to_do is unchanged, the mutation is stalled.

  2. Check for repeated failures. If latest_fail_reason is non-empty, the mutation is failing on a specific part and retrying without progress. Note the parts listed in parts_to_do_names.

  3. Inspect the background pool. Query system.merges. If many entries show is_mutation = 1 or very long elapsed times, the pool is saturated. If the pool is empty but parts_to_do is flat, the mutation may be blocked on resources or locks.

  4. Evaluate replication state on replicated tables. Query system.replication_queue for MUTATE_PART entries. High num_tries with last_exception indicates the replica cannot apply the mutation locally, often because a required source part is missing or a fetch is failing.

  5. Check resource availability. Query system.disks to ensure free space is sufficient for temporary merge output. Check MemoryTracking to rule out memory pressure killing or starving background tasks.

  6. Distinguish slow from stuck. Very large tables can take hours or days to mutate. If parts_to_do drops even slightly across your sampling window, the mutation is slow but healthy. Do not kill it.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
system.mutations.parts_to_doMeasures remaining work per mutationFlat for more than 30 minutes
system.mutations.latest_fail_reasonSurfaces part-level failures that block progressNon-empty on any is_done = 0 mutation
Active merge/mutation countShows whether the background pool is saturatedSustained high count with flat parts_to_do
Active parts per partitionStalled mutations block merges, so parts accumulateSteady growth while a mutation is active
Replication queue num_triesReplicated mutations may fail silently on one replicaMUTATE_PART entries with num_tries > 5
Disk free spaceMerges and mutations need temp space to write new partsFree space below 20% of total

Fixes

Failing mutation with latest_fail_reason

When a mutation repeatedly fails, it will not self-heal. Identify the failing parts from parts_to_do_names. On a replicated table, check whether those parts are healthy on another replica. If a part is corrupt and the table is replicated, you may detach the bad part and re-fetch it from a healthy peer. Once the part is repaired or removed, the mutation should resume. If you cannot repair the part quickly, kill the mutation to unblock the queue:

KILL MUTATION WHERE database = 'db' AND table = 'tbl' AND mutation_id = 'id';

Killing leaves the table in a partially mutated state. Issue a replacement mutation only after confirming the root cause is resolved.

KILL MUTATION is supported across current ClickHouse versions. On ClickHouse 25.6.2, a known race condition (GitHub issues #88883, #88809) can cause the mutation to continue executing in the background pool despite is_killed being set to 1. If KILL MUTATION does not stop the mutation, restart the ClickHouse node or pod to clear it from the pool.

Background pool saturation

If system.merges shows long-running tasks consuming the pool, you must decide whether to wait or kill. Killing a non-critical mutation frees a pool slot and allows merges to resume. In-progress work on the current part is lost; already-completed parts remain mutated. If the pool is saturated by merges on a large table, killing the mutation may be the only way to prevent insert delays. After killing, monitor system.merges to confirm merges restart.

Replication queue blockage

For replicated tables, a mutation may stall because the local replica cannot fetch a required part or because a MUTATE_PART entry is stuck. Do not manually delete entries from system.replication_queue. Instead, investigate the source replica. If the replica is permanently diverged, use SYSTEM RESTART REPLICA or re-initialize the replica. These actions force the replica to reconcile its state and re-fetch missing parts. Expect temporary network load during recovery.

Resource exhaustion

If disk space is below the threshold needed for temporary merge output, background writes will halt. Free space immediately by detaching old partitions or adding capacity. If memory is saturated, large mutations may be aborted by the memory tracker. Address the memory pressure first by killing runaway queries or reducing concurrency. Resource fixes are the only durable solution; killing the mutation without fixing the resource only delays the next stall.

Legitimate slow mutation

For tables with billions of rows, mutations are inherently slow. If parts_to_do is decreasing, leave the mutation alone. Monitor part count to ensure merges are not starved. If you need faster completion, the only safe option is to reduce concurrent load on the node so the background pool can dedicate more cycles to the mutation.

Prevention

  • Monitor system.mutations proactively. A mutation backlog is a leading indicator of merge starvation.
  • Avoid issuing many sequential ALTER UPDATE or ALTER DELETE statements on the same table. Batch changes or use lightweight deletes where your version supports them.
  • Maintain disk free space well above 20%. Merges and mutations need headroom to write output.
  • On replicated tables, monitor mutation progress per replica. A stall on one replica creates silent divergence.
  • Set alerting on parts_to_do flatlining for more than 30 minutes and on non-empty latest_fail_reason.

How Netdata helps

  • Correlate flat parts_to_do with rising active part count to expose merge starvation caused by stuck mutations.
  • Alert on background pool saturation and merge stall signals that accompany mutation blockage.
  • Track per-table part growth trends to separate mutation-induced accumulation from insert overload.
  • Surface disk and memory pressure metrics alongside mutation status to reveal resource root causes.
  • Monitor replication lag per replica when mutations run on replicated tables, so a stalled replica does not go unnoticed.
The Netdata solution

ClickHouse monitoring with Netdata

Netdata monitors ClickHouse with per-second metrics and ML anomaly detection. Track merge debt, memory usage, replication lag, Keeper/ZooKeeper saturation, and disk headroom against the host signals that drive them.