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 / cassandra / cassandra-ttl-tombstone-accumulation

Operations Guides

Cassandra TTL tombstone accumulation: time-series tables and TWCS

You set a TTL on every row expecting old data to vanish. Instead, disk usage climbs, read latency spikes, and your logs fill with tombstone warnings.

An expired TTL does not delete data immediately. Cassandra writes a tombstone that survives until compaction runs and the tombstone exceeds gc_grace_seconds (default 864000 seconds, or 10 days). In time-series workloads ingesting millions of TTL’d rows per hour, the wrong compaction strategy turns this bookkeeping into a production incident.

TWCS groups SSTables into time windows and drops entire files when every row inside has expired, bypassing the expensive cell-by-cell merging that SizeTieredCompactionStrategy (STCS) and LeveledCompactionStrategy (LCS) require. TWCS is not automatic. It suppresses tombstone compaction by default and fails silently when out-of-order writes land in old windows. Cassandra 5.0 introduces Unified Compaction Strategy (UCS), which includes a time-series profile and can be reconfigured at runtime without a full compaction. Understanding how tombstones accumulate under TWCS, and where it fails, is essential for running time-series tables at scale.

What it is and why it matters

A tombstone is Cassandra’s deletion marker. When a cell’s TTL expires, the node treats it as a delete and marks the cell with a tombstone that shadows the old value. That tombstone is not free. It occupies disk space, consumes heap during reads, and forces the read path to scan and discard dead data until it is eligible for removal.

Time-series tables are usually append-only: new data streams in by timestamp and expires on a fixed TTL. The storage engine is an LSM tree, so every flush creates a new SSTable. Under STCS or LCS, expired tombstones scatter across many SSTables that also contain live data. Compaction must read all of those files, merge them cell-by-cell, and rewrite the live data into new SSTables just to eliminate the dead cells. As write volume grows, compaction cannot keep up. Tombstones accumulate, read amplification explodes, and queries abort when they hit tombstone_failure_threshold (default 100000).

TWCS partitions SSTables into time windows. If every row in an SSTable has expired and the table has been repaired, the entire SSTable can be dropped as a single file. No merge, no rewrite, no per-cell tombstone compaction. This is efficient, but it relies on a strict contract: writes must be time-ordered and TTL-aligned to window boundaries.

How it works

flowchart TD
    A[Write with TTL] --> B[Flush to SSTable]
    B --> C[TTL expires]
    C --> D[Tombstone in SSTable]
    D --> E{Compaction strategy}
    E -->|STCS / LCS| F[Tombstones mixed with live data]
    F --> G[Cell-by-cell merge to purge]
    E -->|TWCS| H[Time-windowed SSTables]
    H --> I[Window fully expired]
    I --> J[Whole file dropped]

TTL does not change the write path. The mutation is appended to the commitlog and memtable; on flush, the TTL is stored as an expiration timestamp in the SSTable. No background thread wakes when TTL expires. Expiration is lazy: it is discovered during reads or compaction.

STCS merges SSTables of similar size. An old SSTable containing mostly expired data is compacted with a newer SSTable containing mostly live data. The tombstones are purged only after reading and rewriting all the live data. In high-throughput time-series workloads, this creates a compaction death spiral: writes generate SSTables faster than compaction can rewrite them, so tombstones never clear.

LCS organizes SSTables into levels with strict size boundaries. Tombstones propagate through levels during compaction. LCS also lacks a fast path for bulk TTL expiration; it runs more frequent, smaller compactions. Write amplification is high for pure ingest workloads.

TWCS assigns each SSTable to a time window based on the minimum timestamp of the data it contains. Within the active window, SSTables are compacted using STCS. Once the window closes, no new SSTables should belong to it. When the entire window has passed its TTL plus gc_grace_seconds, and the table has been repaired, Cassandra deletes the SSTable files entirely. This is the whole-file drop optimization.

TWCS suppresses single-SSTable tombstone compaction by default. It expects tombstones to be removed by whole-file expiration. If something prevents the whole-file drop, tombstones have no escape hatch unless you explicitly enable one. Tombstone compaction is disabled unless tombstone_threshold, tombstone_compaction_interval, or unchecked_tombstone_compaction is set to a non-default value. unchecked_tombstone_compaction defaults to false.

Out-of-order writes block whole-file drops. If read repair, a backfill with USING TIMESTAMP, or a mixed write path places even a single live cell into a newer SSTable that overlaps an old window, the old SSTable cannot drop. The newer SSTable blocks it. In that scenario, TWCS behaves worse than STCS: it refuses cell-level tombstone compaction by default, so tombstones accumulate indefinitely until you intervene.

Two unsafe options exist to force expiration. Setting unchecked_tombstone_compaction: true allows Cassandra to run tombstone compaction on individual SSTables; safety checks for shadowing data are still performed internally. unsafe_aggressive_sstable_expiration drops expired SSTables without checking whether they shadow data in other SSTables. It requires the JVM flag -Dcassandra.unsafe_aggressive_sstable_expiration=true and can cause data resurrection. Do not use it without understanding the shadowing risk.

If only_purge_repaired_tombstones is enabled, tombstone removal is gated behind successful repair. A fully expired window will not drop until repair completes. If repair runs slower than the TTL window, disk accumulates even with correct TWCS configuration.

Where it shows up in production

The first symptom is disk usage that does not decrease after the TTL period. You expect data from 30 days ago to be gone, but nodetool info shows Load holding steady or growing.

Range scans over historical windows spike in latency. The read path must scan and merge tombstones from dozens of SSTables. P50 latency may look fine while P99 explodes.

If tombstones per read exceed tombstone_warn_threshold (default 1000), Cassandra logs warnings. At tombstone_failure_threshold (default 100000), it aborts the query with TombstoneOverwhelmingException. This often hits dashboards or batch jobs that scan wide time ranges.

GC pressure also increases. Tombstone-heavy reads allocate temporary objects during the merge phase. This triggers young generation churn and can promote garbage into the old generation, increasing GC pause frequency.

A specific tell for TWCS misconfiguration is high SSTable counts in old time windows. In a healthy TWCS table, each closed window should have roughly one SSTable after compaction. If old windows still contain multiple SSTables, you likely have overlapping SSTables from out-of-order writes.

Tradeoffs and when to use it

TWCS is purpose-built for append-only time-series data with time-ordered writes and uniform TTL. Use it when:

  • Data is inserted with the current timestamp and no backfills land in old windows.
  • TTL is roughly uniform and known at write time.
  • Queries read contiguous time ranges.
  • The workload is ingest-heavy, not update-heavy.

Do not use TWCS when:

  • You update old data or backfill historical windows. Out-of-order writes destroy the whole-file drop optimization.
  • TTLs vary wildly within the same table. If some rows expire in one hour and others in thirty days, windows cannot drop until the longest TTL passes.
  • You need efficient single-row lookups outside the time dimension. TWCS does not improve point-read performance; it optimizes time-range scans and expiration.
  • You are starting a new deployment on Cassandra 5.0 or newer. UCS is available and recommended for new tables; it includes a time-series profile and can be reconfigured at runtime without a full compaction.

If you must use TWCS on a table with default_time_to_live, set unchecked_tombstone_compaction: true unless you are certain out-of-order writes are impossible. This provides a fallback path when whole-file drops are blocked.

Reducing compaction_window_size does not retroactively split existing SSTables. Only new flushes respect the smaller window. Plan window sizing before the table grows.

Signals to watch in production

SignalWhy it mattersWarning sign
Tombstone scan warnings in system logReads are traversing excessive dead dataSustained Scanned over .* tombstones entries
SSTable count in TWCS windowsMultiple SSTables in expired windows indicate blocked dropsOld windows still contain multiple SSTables
Pending compactionsCompaction backlog prevents tombstone purgingPendingTasks in nodetool compactionstats trending upward over 4+ hours
Repair status vs gc_grace_secondsTombstones cannot be purged without repairLast repair > 80% of gc_grace_seconds
Disk space usageExpired data should reclaim space; if not, tombstones are accumulatingLoad flat or growing despite TTL
sstableexpiredblockers tool outputIdentifies which SSTables prevent window dropsAny blockers listed for expired windows
Local read latency p99Tombstone merging is CPU and I/O intensivep99 > 3x baseline or spiking on time-range queries

How Netdata helps

  • Correlate tombstone warning logs with per-table read latency spikes and GC pause duration to confirm tombstones are the root cause.
  • Track LiveSSTableCount and pending compactions per table to detect when TWCS windows are not dropping.
  • Monitor JVM heap usage and GC pause trends to catch memory pressure from tombstone-heavy range scans before it triggers a GC death spiral.
  • Alert on repair schedule drift relative to gc_grace_seconds so unrepaired tombstones do not silently accumulate.
The Netdata solution

Cassandra monitoring with Netdata

Netdata monitors Apache Cassandra with per-second metrics and automatic dashboards. Correlate GC pauses, compaction backlog, tombstone rates, pending hints, and disk usage across nodes to catch a creeping cluster before it tips over.