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 / memcached / memcached-incr-decr-misses ▌

Operations Guides

Memcached incr/decr misses: evicted counters that silently break rate limiters and locks

Most memcached operators never look at incr_misses and decr_misses. They sit in the per-operation hit/miss breakdown and stay near zero. When they start climbing, the cache itself usually looks healthy: hit ratio is fine, evictions are modest, memory is not full. The damage is happening somewhere else.

The pattern is specific. The application uses memcached as an atomic counter store. Rate limiters increment a per-client counter and reject when it crosses a threshold. Distributed locks hold a lease token with a TTL and decrement on release. Quota counters track usage per tenant. These counter keys are small, hot, and short-lived. When the slab class they live in comes under memory pressure, the LRU evicts them between operations.

The next incr after an eviction returns NOT_FOUND. Memcached does not auto-create the key. The application has to handle that path, and most rate limiter and lock implementations either skip the increment or re-initialize to zero. Either way the guarantee disappears: the rate limit resets, the lock is released early, the quota restarts. Nothing throws. The incr_misses counter is the only server-side signal that this is happening.

This article covers how to read that signal, attribute it, and handle the overflow and underflow gotchas that bite even when counters survive eviction.

What this means

incr_misses and decr_misses count incr and decr commands issued against keys that do not exist. On a healthy memcached instance, “do not exist” can mean three things:

  1. The key was never created. The application issued incr without first doing add or set.
  2. The key was evicted. The slab class came under memory pressure and the LRU removed it.
  3. The key expired. Its TTL elapsed between the previous operation and this one.

All three increment the same counter. The second and third cases are the silent-break scenarios. A counter key with a 60-second TTL for a rate limiter window can be evicted at second 12 if the slab class it lives in is full. The next incr returns NOT_FOUND. If the rate limiter treats NOT_FOUND as “no prior count, start fresh”, the rate window effectively restarts. A client sending requests just fast enough to keep the slab under pressure gets an effectively unlimited rate.

The red-flag ratio is incr_misses / (incr_hits + incr_misses) > 20%. Above that, counter keys are being evicted or expired faster than the application uses them. Below 5% is usually initialization churn. Between 5% and 20% deserves investigation but is not yet a guarantee failure.

A related gotcha is independent of misses. incr overflow wraps silently at the 64-bit unsigned boundary (2^64-1). The value resets to a small number with no error returned to the client. decr underflow clamps to 0, also silently. Neither is visible in any stat. The only defense is application-level: cap counters, use modular arithmetic, or detect wraparound in client code.

Common causes

CauseWhat it looks likeFirst thing to check
Slab class under eviction pressureincr_misses rising alongside evictions; counter keys are small, so they concentrate in one early slab classstats items per-slab evicted and evicted_time for the small-size classes
TTL shorter than the operation intervalincr_misses rising with zero or low global evictions; counters expire between operationsTTL on the counter key vs. expected time between incr calls
Missing initial set/addincr_misses high from process start, never comes down; the application never bootstraps countersApplication code path: does it call add before incr, and does it handle NOT_FOUND?
Flush or restartincr_misses spikes once alongside a cmd_flush increment or uptime reset, then recoverscmd_flush and uptime
Overflow misread as missCounters reset silently at high values; incr_misses is not actually risingClient-side max value check; the value wraps at 2^64-1

Quick checks

# incr/decr hit and miss counters
echo "stats" | nc -q1 localhost 11211 | grep -E "STAT (incr|decr)_(hits|misses)"

# Evictions in the small-item slab classes
echo "stats items" | nc -q1 localhost 11211 | grep -E "evicted|evicted_time|evicted_nonzero"

# Slab class balance: small counter keys land in early classes
echo "stats slabs" | nc -q1 localhost 11211 | grep -E "chunk_size|used_chunks|free_chunks|total_pages"

# Recent flush or restart as the trigger
echo "stats" | nc -q1 localhost 11211 | grep -E "STAT (cmd_flush|uptime|curr_items)"

# Slab automove state (default since 1.5.0 is mode 1)
echo "stats settings" | nc -q1 localhost 11211 | grep slab_automove

All read-only. None touch cache contents.

How to diagnose it

The diagnostic flow: confirm the miss rate is real, attribute it to one of the three causes (initialization, eviction, expiration), then trace the affected slab class.

flowchart TD
    A[incr_misses rising] --> B{Evictions also rising?}
    B -- Yes --> C[Check stats items per-slab evicted_time]
    B -- No --> D{uptime reset or cmd_flush incremented?}
    D -- Yes --> E[One-time miss spike, recovers]
    D -- No --> F{Misses since process start?}
    F -- Yes --> G[Application never bootstraps counters]
    F -- No --> H[TTL shorter than operation interval]
    C --> I{evicted_time < counter TTL?}
    I -- Yes --> J[Slab pressure evicting live counters]
    I -- No --> K[Healthy eviction of cold items]
    J --> L[Reduce slab pressure or move counters off memcached]

Step by step:

  1. Pull two stats samples a minute apart and compute the rate of incr_misses. If it is zero or near-zero, the rising value was historical and you can stop.
  2. Pull incr_hits over the same interval and compute incr_misses / (incr_hits + incr_misses). Above 20% is the red flag.
  3. Pull evictions over the same interval. If evictions are also rising, the cause is eviction pressure, not expiration. Jump to step 5.
  4. If evictions are flat but incr_misses is rising, the cause is TTL or initialization. Check the TTL the application sets on counter keys. If the TTL is shorter than the typical interval between incr calls, the counter expires legitimately between operations. If the misses have been non-zero since process start, the application is calling incr on keys it never created.
  5. Run stats items and look at the evicted and evicted_time counters per slab class. Counter keys are small, usually landing in slab classes with chunk sizes under 200 bytes. Find the class with rising evicted.
  6. Check evicted_time for that class. If it is low (under 300 seconds, especially under the TTL of your counter keys), the LRU is evicting counters that have not yet expired. This is the silent-break condition.
  7. Check evicted_nonzero for the same class. Counter keys almost always have non-zero TTL, so a rising evicted_nonzero confirms that items with expiration times are being evicted early.
  8. Confirm whether slab_automove is active. If it is on and the class is still evicting, the automover cannot keep up because every other class is also under pressure or because there are no idle pages to move.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
incr_misses rateDirect count of counter operations against missing keysSustained non-zero rate when the application is supposed to be initializing counters
incr_misses / (incr_hits + incr_misses)Fraction of counter operations that lost their keyAbove 20% sustained
decr_misses rateSame pattern for decrement operations, often lock releaseSustained non-zero rate
evictions rateConfirms eviction pressure as the causeRising in parallel with incr_misses
stats items per-slab evicted_timeAge of the most recently evicted item per slab classUnder the TTL of your counter keys, especially under 60 seconds
stats items per-slab evicted_nonzeroCounts items with non-zero TTL evicted earlyRising in the slab class that holds counter keys
cmd_flush and uptimeDistinguish a one-time miss spike from a sustained problemcmd_flush incrementing or uptime resetting
slab_automove settingWhether the server can self-repair slab imbalanceSet to 0 when slab imbalance is the cause

There is no stat that exposes incr overflow or decr underflow directly. Those failures are invisible to memcached monitoring and must be caught in client code.

Fixes

Counter keys are being evicted (slab pressure)

The fastest relief is reducing pressure on the slab class that holds the counters. Options, roughly in order of operational cost:

  • Enable slab_automove at runtime with slabs automove 1 if it is off. This is the default since 1.5.0 but it may have been disabled. Mode 1 is conservative and safe. Mode 2 is aggressive and not recommended for sustained use.
  • Manually move a page into the starving class: slabs reassign <source_class> <dest_class>. Pick a source class with free_chunks > 0 and zero recent evictions. This is safe but ephemeral; the page can be reclaimed by automove later.
  • Increase -m if the working set genuinely exceeds memory and every class is under pressure. This requires a restart, which means cold cache and a backend spike. Plan it.
  • Move counter keys off memcached entirely. A dedicated small memcached instance just for counters, or a persistent store like Redis, removes the conflict between the counter workload and the rest of the cache. Rate limiter counters are a poor fit for a shared, evictable cache.

Counter keys are expiring between operations

  • Lengthen the TTL on counter keys to comfortably exceed the interval between operations. For a rate limiter with a 60-second window, the counter TTL should be at least the window length plus margin.
  • Avoid a TTL of 1 second. Memcached updates internal expiration on second boundaries, which makes a TTL of 1 sometimes expire immediately. Use 2 or higher.
  • Reset counters explicitly at the window boundary with set rather than relying on TTL expiry. This trades determinism for one extra command per window per key.

Application never bootstraps counters

The classic pattern is add to create the counter (fails if the key exists), then incr to increment. If add succeeds, the counter is initialized. If add fails because the key already exists, the counter is live and incr proceeds. If incr returns NOT_FOUND after a successful add, the counter was evicted between the two commands, which is the eviction case above.

Handle NOT_FOUND explicitly in client code. Either re-initialize with add and retry, or treat it as a known degraded state and fail closed. The default behavior of “ignore the miss and proceed” is what silently disables rate limiters.

The newer meta arithmetic command (ma) can auto-create the item on miss using the N flag (with a TTL) and the J flag (initial value, default 0). This collapses the add-then-incr pattern into one round trip and removes the race. ma is part of the meta protocol, stable in memcached 1.6.0 and present in every release since. Not every client library exposes it, so verify support in yours before relying on it.

Overflow and underflow gotchas

Neither produces an error. incr past 2^64-1 wraps silently to a small value. decr below 0 clamps silently to 0. There is no stat, no log, no client-side notification.

Defenses are application-side only:

  • For rate limiter counters, cap the value at the threshold and stop incrementing. This makes wraparound impossible because the counter never approaches 2^64.
  • For lock lease tokens and quota counters, use values that are small relative to 2^64 and treat implausibly small values as a sign of wraparound.
  • For decr, the clamp-to-0 behavior is usually safe. The risk is a lock that decrements past zero on early release and then cannot be re-acquired at the expected count. Treat any decr result of 0 as authoritative and do not assume the previous value.

Prevention

  • Monitor incr_misses and decr_misses as first-class signals. They are not noise; they are the only server-side signal that counter-backed guarantees are failing.
  • Compute the ratio, not just the rate. incr_misses / (incr_hits + incr_misses) is more stable than the raw miss count because it normalizes for traffic.
  • Track per-slab evicted_time for the small-item classes. Counter keys live there. Low evicted_time in those classes is the early warning.
  • Reserve enough memory in the small-item slab classes. Counter workloads are small, hot, and numerous. They fit comfortably in early slab classes, but only if those classes have room.
  • Treat NOT_FOUND from incr as a degraded state in application code. Fail closed: deny the request, re-initialize, or alert. Do not silently proceed.
  • Consider a dedicated counter store. If the rate limiter or lock is load-bearing, memcached’s evictable memory model is the wrong tool. A small Redis instance or a dedicated memcached instance sized to hold the counter working set with headroom removes the conflict.

How Netdata helps

  • Netdata’s memcached collector pulls incr_hits, incr_misses, decr_hits, and decr_misses per second, so the miss ratio is visible as a live trend rather than a manual two-sample calculation.
  • Per-slab evicted, evicted_time, and evicted_nonzero from stats items are correlated against incr_misses in the same dashboard, so the link between slab pressure and counter loss shows up without cross-referencing terminals.
  • Anomaly detection on the miss rate flags the inflection point where incr_misses starts climbing before the absolute count looks alarming. Rate limiter guarantees break well before miss volume is large.
  • cmd_flush and uptime are tracked alongside the miss counters, so a one-time miss spike from a flush or restart is distinguishable from a sustained eviction problem.
  • Eviction rate, hit ratio, and per-slab utilization are pre-correlated, which shortens the path from “counter misses rising” to “which slab class is evicting my counters”.