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-command-rate-anomaly ▌

Operations Guides

Memcached command rate anomalies: cmd_get and cmd_set spikes and sudden drops

cmd_get, cmd_set, and cmd_touch are cumulative counters in memcached. They increase monotonically from process start and are meaningless as raw numbers. The signal is the derived rate: the delta between two samples divided by the interval. A sudden change in that rate is almost never the root cause. It is a proxy for something that changed upstream (clients stopped or started sending traffic), inside the cache (a hot key expired, the cache was flushed), or in the application logic (a write loop, a deploy with new key patterns).

Command rate anomalies are detection signals, not diagnoses. A spike above 2x baseline or a drop below 10-50% tells you something shifted. The investigation correlates the rate change with hit ratio, eviction rate, connection state, and backend load to find the cause.

One subtlety that catches teams off guard: cmd_get counts every requested key, including each key inside a multiget. A single multiget for 50 keys increments cmd_get by 50, and get_hits and get_misses count those same keys individually. The real lookup volume is always get_hits + get_misses, and over the same interval its delta matches the cmd_get delta.

Reading command rates

These counters come from the stats command. There is no native rate metric from the server; sample twice with a known interval and compute the delta.

# Compute cmd_get rate over a 5-second window
A=$(echo "stats" | nc -w 2 localhost 11211 | awk '/STAT cmd_get/ {print $3}')
sleep 5
B=$(echo "stats" | nc -w 2 localhost 11211 | awk '/STAT cmd_get/ {print $3}')
echo "cmd_get rate: $(( (B - A) / 5 )) ops/sec"

Anomaly thresholds, drawn from operational consensus rather than a hard server limit:

DirectionThresholdWhat it usually means
SpikeGreater than 2x baseline sustained over 10+ minutesRetry storm, cache stampede, traffic surge, or application write loop
DropBelow 10% of baselineCache is unreachable or clients stopped sending traffic
DropBelow 50% of baseline, sustainedUpstream failure, DNS change, or client misconfiguration worth investigating

These are heuristics. The real value is anomaly detection against a time-of-day and day-of-week baseline. A cache handling 500K gets/sec with 100 evictions/sec may be perfectly healthy. A cache at 1K gets/sec with the same eviction rate is in crisis. Absolute thresholds without baselines generate false positives and miss real problems.

flowchart TD
    A[Command rate anomaly] --> B{Spike or drop?}
    B -->|Spike| C{cmd_get or cmd_set?}
    B -->|Drop| D{Connections at max?}
    C -->|cmd_get up, misses up| E[Cache stampede]
    C -->|cmd_get up, hit ratio stable| F[Traffic surge or retry storm]
    C -->|cmd_set up, cmd_get flat| G[Write loop or bulk load]
    D -->|accepting_conns=0| H[Connection exhaustion]
    D -->|uptime low or cmd_flush up| I[Restart or flush_all]
    D -->|Stable connections and uptime| J[Upstream failure or DNS change]

Common causes

CauseWhat it looks likeFirst thing to check
Cache stampedecmd_get spikes, get_misses spikes, evictions low or zero, backend load spikesHit ratio direction and backend load
Client retry stormcmd_get spikes, conn_yields or rejected_connections may climb, hit ratio stableClient-side error rates and connection state
Application write loopcmd_set spikes without proportional cmd_get spike, evicted_unfetched climbingRecent deploys and set/get ratio
Connection exhaustioncmd_get and cmd_set drop, curr_connections at max, accepting_conns = 0accepting_conns and curr_connections / max_connections
Upstream failure or DNS changecmd_get drops to near zero, connections and uptime stable, process responsiveClient server lists and DNS resolution
Restart (uptime reset)cmd_get and cmd_set drop, uptime near zero, curr_items at zerouptime counter
Accidental flush_allcmd_flush incremented, hit ratio plummets, get_flushed spikescmd_flush counter

Quick checks

Run these read-only probes to classify the anomaly. All are safe for production. Avoid polling stats more frequently than every 10 seconds under extreme throughput (above 500K ops/sec); the stats command itself adds load.

# Command counters
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT cmd_(get|set|touch|flush)"

# Hit and miss breakdown (key-level lookup volume)
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT get_(hits|misses|flushed)"

# Uptime for restart detection
echo "stats" | nc -w 2 localhost 11211 | grep "STAT uptime"

# Connection state and rejection counters
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT (curr_connections|max_connections|rejected_connections|accepting_conns|listen_disabled_num)"

# Eviction rate and memory pressure
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT (evictions|bytes |limit_maxbytes)"

# Network throughput (NIC saturation from large-value reads)
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT bytes_(read|written)"

# CPU usage
echo "stats" | nc -w 2 localhost 11211 | grep "STAT rusage"

# Connection yields (one client dominating the server)
echo "stats" | nc -w 2 localhost 11211 | grep "STAT conn_yields"

# Item count (mass expiration or flush detection)
echo "stats" | nc -w 2 localhost 11211 | grep "STAT curr_items"

How to diagnose it

  1. Confirm the direction and magnitude. Sample cmd_get and cmd_set twice with a known interval. Determine whether the anomaly is a spike (above 2x baseline) or a drop (below 10-50% of baseline). Compare against your time-of-day baseline, not an absolute number.

  2. If it is a spike in cmd_get, check hit ratio direction. Pull get_hits and get_misses and compute the ratio from deltas. If get_misses is climbing while get_hits stays flat, you have a cache stampede: a hot key expired or was evicted and every client is missing simultaneously. If get_hits is climbing proportionally with get_misses, traffic genuinely increased. See Memcached cache stampede: a hot key expires and the backend takes the hit.

  3. If it is a spike in cmd_set without a proportional cmd_get spike, look for a write loop. Check evicted_unfetched and expired_unfetched. If these are climbing alongside the cmd_set spike, the application is caching data nobody reads. Correlate with recent deploys.

  4. If it is a drop, check connections first. Look at accepting_conns, curr_connections, max_connections, and rejected_connections. If accepting_conns = 0 or rejected_connections is incrementing, the cache hit its connection limit and clients are being turned away. See Memcached connection limit reached: accepting_conns=0 and clients being refused.

  5. Check uptime and cmd_flush. If uptime reset, the process restarted and the cache is cold. If cmd_flush incremented, someone or something issued flush_all. Both produce a temporary cmd_get and cmd_set drop followed by a cold-cache pattern: high get_misses, climbing curr_items as the cache warms, and backend load spike. See Memcached flush_all: the accidental cache wipe and its cold-start blast radius.

  6. If connections are stable and the process is responsive but traffic stopped, investigate upstream. A cmd_get drop to near zero with stable curr_connections, stable uptime, and a responsive version probe means the server is fine but clients stopped sending. Check client-side server lists, DNS resolution, and load balancer configuration. A DNS change or a stray space character in a server name in client config can silently redirect traffic.

  7. Correlate with backend load. A cmd_get spike with rising backend load and rising get_misses confirms a stampede. A cmd_get drop with rising backend load suggests clients are bypassing the cache and hitting the database directly. A cmd_get spike with stable backend load means the cache is absorbing the increase.

  8. Check conn_yields if one client seems to dominate. High conn_yields during a cmd_get spike means a single connection is pipelining requests faster than the server’s -R limit (default 20 requests per event) allows. The server forces it to yield so other connections get served. See Memcached conn_yields rising: one client’s pipeline starving the others.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
cmd_get rateRead throughput baselineSpike greater than 2x or drop below 10% of baseline sustained
cmd_set rateWrite throughput; detects write loops and bulk loadingSpike without proportional cmd_get spike
get_hits + get_missesKey-level hits vs misses behind the cmd_get deltaHit ratio collapse while cmd_get holds steady
Hit ratio (get_hits / (get_hits + get_misses))Cache effectivenessSudden drop with cmd_get spike indicates stampede
evictionsMemory pressureLow with cmd_get spike confirms stampede, not memory exhaustion
curr_connections, accepting_connsConnection healthaccepting_conns = 0 with rate drop indicates connection exhaustion
cmd_flushCache wipe detectionAny increment in production requires investigation
uptimeRestart detectionReset to near zero means cold cache
conn_yieldsClient fairnessHigh sustained rate indicates one aggressive client
bytes_writtenNetwork throughputDisproportionate to cmd_get rate means large-value reads
rusage_user, rusage_systemCPU pressureSpike with cmd_get spike confirms processing load

Fixes

Cache stampede (cmd_get spike with rising misses)

Identify the hot key through application telemetry if possible. Manually warm the key to reduce the miss storm. For long-term prevention, implement stampede protection in the application layer: distributed locks around cache regeneration, probabilistic early expiration, or stale-while-revalidate patterns. The tradeoff is added application complexity and a small latency cost on the first miss after expiration. See Memcached cache stampede: a hot key expires and the backend takes the hit.

Client retry storm (cmd_get spike with stable hit ratio)

Identify which client is generating the traffic. Check client-side error rates, retry counts, and backoff configuration. A common cause is a client library retrying failed operations with no backoff, amplifying a transient blip into a sustained spike. Reduce retry aggressiveness or add exponential backoff. The tradeoff: reducing retries may increase latency for genuine transient failures.

If conn_yields is high alongside the spike, one client is pipelining aggressively. Check whether the -R limit (default 20) is appropriate for your workload, or throttle the client-side pipeline depth.

Application write loop (cmd_set spike without cmd_get spike)

High evicted_unfetched and expired_unfetched confirm the application is writing data nobody reads. Correlate with recent deploys to identify the code path. Common causes: cache-aside logic that writes to cache after every database write regardless of read demand, background jobs populating keys that are never requested, or a serialization change producing oversized items. Fix at the application level: only cache data that is actually read, and review TTLs for write-heavy patterns. See Memcached evicted_unfetched and expired_unfetched: caching data nobody ever reads.

Connection exhaustion (cmd_get and cmd_set drop, accepting_conns=0)

Verify max_connections and the OS ulimit -n for the memcached process. If curr_connections is stable at max but total_connections rate is very high, the problem is connection churn (missing pooling), not a leak. If curr_connections is monotonically increasing, it is a leak. Increasing -c requires a restart. Fix the root cause first: implement or fix client-side connection pooling. See Memcached connection limit reached: accepting_conns=0 and clients being refused and Memcached curr_connections climbing: connection leaks and missing pooling.

Upstream failure or DNS change (cmd_get drop, connections stable)

The cache is healthy but clients stopped sending traffic. Check client-side server lists, DNS resolution, and load balancer health. A DNS change pointing clients to a different IP, a misconfigured server name (including whitespace), or a load balancer that removed the memcached node from its pool all produce this pattern. Verify with ss -tn | grep :11211 to see which clients are actually connected. The fix is client-side configuration. Note that client-side DNS caching can delay detection of legitimate changes.

Restart or flush_all (uptime reset or cmd_flush increment)

After a restart or flush_all, the cache is cold. Focus on the backend: it is now receiving the full production request load the cache was absorbing. Monitor hit ratio recovery and backend load. Run cache-warming scripts if available. Implement circuit breakers in the application layer if the backend cannot absorb the cold-cache load. Do not restart memcached as a fix unless there is a confirmed process-level issue. See Memcached flush_all: the accidental cache wipe and its cold-start blast radius.

Prevention

  • Baseline by time-of-day and day-of-week. Command rates are workload-driven and follow predictable patterns. Alert on deviation from baseline, not absolute thresholds.
  • Alert on rate-of-change, not raw counters. The counters are cumulative. The useful signal is the derivative.
  • Break the cmd_get delta into hits vs misses. cmd_get counts every requested key; get_hits + get_misses shows whether the movement came from hits or misses.
  • Implement stampede prevention. Distributed locks, probabilistic early expiration, or stale-while-revalidate at the application layer prevent the most common cmd_get spike pattern.
  • Alert on any cmd_flush increment in production. A single accidental flush_all causes a cold-cache thundering herd.
  • Monitor connection state alongside command rates. A command rate drop caused by connection exhaustion looks identical to a client-side failure until you check accepting_conns and rejected_connections.
  • Track evicted_unfetched and expired_unfetched. These reveal write-only caching patterns that waste memory and can mask as a cmd_set anomaly.

How Netdata helps

  • Per-second rate derivation. Netdata computes cmd_get, cmd_set, and cmd_touch rates from counter deltas automatically, exposing sub-minute anomalies that 10-15 second polling intervals miss.
  • ML anomaly detection on command rates. Netdata’s anomaly advisor learns the time-of-day baseline for each command type and flags deviations without manual threshold tuning.
  • Correlated hit ratio and miss breakdown. When cmd_get spikes, get_hits, get_misses, and hit ratio appear in the same view, making stampede detection immediate.
  • Connection state alongside throughput. accepting_conns, curr_connections, rejected_conns, and conn_yields appear alongside command rates, so a drop caused by connection exhaustion is distinguishable from a client-side failure in one view.
  • Flush and restart detection. cmd_flush increments and uptime resets surface as discrete events, making cold-cache incidents immediately classifiable.