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 / redis / redis-pubsub-pattern-overhead

Operations Guides

Redis Pub/Sub pattern overhead: PSUBSCRIBE scaling and slow subscribers

You see Redis latency spikes that align with PUBLISH bursts. Subscribers disconnect with output buffer limit errors. In cluster mode, CPU and network climb linearly with node count even though PUBLISH volume stays flat. Two mechanisms drive this: PSUBSCRIBE pattern matching adds O(N) work to every PUBLISH, and slow subscribers accumulate per-client output memory until Redis cuts them off. This guide shows how to confirm the bottleneck, apply safe fixes, and decide when to move to sharded Pub/Sub.

What this means

Redis processes every PUBLISH on the single-threaded event loop. If subscribers use PSUBSCRIBE, each PUBLISH iterates all registered glob-style patterns server-wide and tests the channel name against every one. Beyond roughly 1,000 unique patterns, the scan becomes a measurable event-loop cost. Since Redis 7.0, identical patterns are deduplicated across clients, so the cost is driven by the number of unique patterns, not total client subscriptions.

Pub/Sub has no backpressure. When a subscriber cannot read from its socket as fast as Redis publishes, messages buffer in the client’s output queue. The client-output-buffer-limit pubsub policy controls how large that queue may grow before Redis disconnects the client. The default hard limit is 32 MB and the soft limit is 8 MB for 60 seconds. This is generous for fast consumers and lethal for slow ones. Output buffer memory counts against maxmemory, so slow subscribers can push the instance toward eviction or OOM.

In Redis Cluster, classic Pub/Sub broadcasts every PUBLISH to every node, regardless of where subscribers are connected. The cluster bus carries that fan-out. Redis 7.0+ introduces sharded Pub/Sub (SSUBSCRIBE / SPUBLISH), which routes messages only to the nodes owning the relevant hash slot.

flowchart TD
    A[Latency spikes or subscriber disconnects during PUBLISH] --> B{pubsub_patterns > 1000?}
    B -->|Yes| C[Pattern scan CPU overhead
Reduce or consolidate patterns] B -->|No| D{Pub/Sub client omem growing?} D -->|Yes| E[Slow subscriber buffer pressure
Fix consumer or adjust limits] D -->|No| F{Cluster mode and high cluster bus messages?} F -->|Yes| G[Classic Pub/Sub broadcast overhead
Use sharded Pub/Sub or reduce fan-out] F -->|No| H[Check slowlog, commandstats,
and pattern complexity or CVE exposure]

Common causes

CauseWhat it looks likeFirst thing to check
High unique pattern countCPU spikes during PUBLISH; LATENCY LATEST events; pubsub_patterns growing past 1,000INFO stats for pubsub_patterns; INFO commandstats for cmdstat_publish latency
Slow subscriber backpressureSubscribers disconnected; output buffer memory climbing; possible eviction pressureCLIENT LIST sorted by omem; logs mentioning “scheduled to be closed ASAP for overcoming of output buffer limits”
Cluster broadcast saturationCluster bus traffic grows with node count; PUBLISH throughput hits a ceilingCLUSTER INFO cluster_stats_messages_sent / cluster_stats_messages_received
Pattern complexity / CVE-2024-31228Latency on PSUBSCRIBE, PUBLISH, or KEYS; unpatched Redis versionINFO server version; inspect pattern and ACL lengths
Subscription leakconnected_clients and pubsub_channels climb without traffic growthINFO stats pubsub_channels; CLIENT LIST age and idle times

Quick checks

# Measure Pub/Sub scale
redis-cli INFO stats | grep -E "pubsub_channels|pubsub_patterns"
redis-cli PUBSUB NUMPAT
redis-cli PUBSUB NUMSUB

# Find per-publish CPU cost
redis-cli INFO commandstats | grep cmdstat_publish
redis-cli LATENCY LATEST

# Find slow subscribers by output buffer size
redis-cli CLIENT LIST | awk -F'[= ]' '{for(i=1;i<=NF;i++) if($i=="omem") print $(i+1), $0}' | sort -rn | head -20

# Check current Pub/Sub buffer policy
redis-cli CONFIG GET client-output-buffer-limit

# Cluster-only: inspect cluster bus traffic
redis-cli CLUSTER INFO | grep -E "cluster_stats_messages|cluster_state"

# Confirm buffer-limit disconnections (Redis 7.4+)
redis-cli INFO stats | grep client_output_buffer_limit_disconnections

# Inspect recent slow commands
redis-cli SLOWLOG GET 10

How to diagnose it

  1. Quantify the Pub/Sub surface area. Run INFO stats and note pubsub_channels and pubsub_patterns. pubsub_channels is the count of channels with at least one subscriber, not subscriber count. pubsub_patterns is the count of active pattern subscriptions. Use PUBSUB NUMPAT and PUBSUB NUMSUB to cross-check.

  2. Correlate with CPU and latency. Check INFO commandstats for cmdstat_publish and watch usec_per_call. If PUBLISH latency grows as pubsub_patterns grows, pattern matching is the likely bottleneck. Use LATENCY LATEST and LATENCY HISTORY command to confirm event-loop blocking. On Redis 6.2+, check INFO cpu used_cpu_user_main_thread to isolate main-thread saturation.

  3. Find slow subscribers. From CLIENT LIST, look for connections with large omem values. Pub/Sub clients are not labeled separately in CLIENT LIST, but if a client is accumulating output memory while cmdstat_publish is active, it is likely a slow consumer. Also search Redis logs for lines containing “scheduled to be closed ASAP for overcoming of output buffer limits.”

  4. Check cluster broadcast overhead (cluster mode only). Run CLUSTER INFO and compare cluster_stats_messages_sent and cluster_stats_messages_received to your PUBLISH rate. Classic Pub/Sub multiplies PUBLISH traffic by node count. If the cluster bus is saturated while cluster_state remains ok, you are hitting broadcast limits.

  5. Inspect pattern health. List active channels with PUBSUB CHANNELS. Review whether many patterns are unique but semantically redundant. Remember that since Redis 7.0 patterns are stored once per unique pattern, so PUBSUB NUMPAT reflects unique patterns (before 7.0 it counts every pattern subscription). Broad patterns such as * or *foo* are the most expensive.

  6. Review pattern safety and version exposure. CVE-2024-31228 allows authenticated users to trigger unbounded recursion via extremely long glob patterns in PSUBSCRIBE, KEYS, SCAN, FUNCTION LIST, COMMAND LIST, and ACL definitions. Affected versions are all Redis >= 2.2.5; patches are in 6.2.16, 7.2.6, and 7.4.1. Check INFO server redis_version, audit pattern lengths, and inspect ACL LOG if you use Redis 6.0+ ACLs.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
pubsub_patternsEach PUBLISH scans all patterns; CPU cost rises with count.Sustained value above 1,000 unique patterns.
cmdstat_publish usec_per_callMeasures event-loop cost per PUBLISH, including pattern scan and fan-out.Sustained growth or outliers against baseline.
LATENCY LATEST / LATENCY HISTORY commandCaptures event-loop blocking from publish work.Recurring spikes above your latency threshold.
CLIENT LIST omem for Pub/Sub clientsOutput buffer memory for slow subscribers; counts against maxmemory.Any Pub/Sub client with omem near or above the soft limit, or trending up.
cluster_stats_messages_sent / receivedCluster bus traffic; classic Pub/Sub broadcasts every PUBLISH to all nodes.Growth disproportionate to PUBLISH rate; high baseline.
client_output_buffer_limit_disconnections (Redis 7.4+) or equivalent log lineConfirms disconnections due to output buffer overflow.Any rate above zero, or log lines matching the buffer-limit message.
instantaneous_output_kbpsNetwork fan-out from Pub/Sub and replication.Output far exceeds input during publish bursts.

Fixes

Reduce pattern count and complexity

Replace PSUBSCRIBE with SUBSCRIBE to concrete channels wherever possible. Consolidate redundant patterns; since Redis 7.0 identical patterns are deduplicated across clients, but many unique patterns still force a scan on every PUBLISH. Avoid overly broad patterns such as * or *foo*. If you need many fine-grained channels, prefer explicit channel names over wildcards.

Handle slow subscribers

First choice is to make consumers faster: scale consumers, reduce per-message processing time, or shard subscriptions across clients. If consumers are legitimately slower than publishers for transient bursts, you can raise the Pub/Sub output buffer limit. This trades memory for availability. For example:

# Adjust Pub/Sub buffer limit: 64 MB hard, 16 MB soft for 120 seconds
redis-cli CONFIG SET client-output-buffer-limit "pubsub 67108864 16777216 120"

The default is 32 MB hard and 8 MB soft for 60 seconds. Raising the limit increases the risk that slow subscribers will consume enough memory to push Redis toward maxmemory. Monitor omem closely if you do this.

If a subscriber is stale and you cannot recover it, kill the connection:

# Dangerous: disconnects the client immediately
redis-cli CLIENT KILL ID <client-id>

For workloads that need delivery guarantees or durable replay, consider Redis Streams instead of Pub/Sub.

Mitigate cluster broadcast overhead

In Redis Cluster, migrate from classic Pub/Sub to sharded Pub/Sub (SSUBSCRIBE / SPUBLISH), available in Redis 7.0+. Sharded Pub/Sub routes messages only to the shard that owns the channel’s hash slot, eliminating the all-node broadcast. Note that SSUBSCRIBE and SUBSCRIBE are not interchangeable: a message published with PUBLISH is not received by SSUBSCRIBE clients, and a message published with SPUBLISH is not received by SUBSCRIBE clients. Smart clients must connect to the correct shard.

If you cannot migrate, keep pattern and channel counts low, reduce message sizes, and monitor cluster bus bandwidth.

Patch pattern-matching vulnerabilities

If you are on an affected Redis version, upgrade to 6.2.16, 7.2.6, 7.4.1, or later. Audit existing ACL entries and any user-submitted PSUBSCRIBE patterns for abnormal length. Use ACLs to restrict access to pattern-subscription commands where appropriate.

Prevention

  • Establish a baseline for pubsub_patterns, pubsub_channels, and cmdstat_publish usec_per_call. Alert on deviation, not just absolute thresholds.
  • Set explicit client-output-buffer-limit pubsub values based on your workload. Do not rely on unlimited defaults for normal clients, and treat Pub/Sub buffers as a first-class memory consumer.
  • Design new cluster deployments with sharded Pub/Sub rather than classic Pub/Sub.
  • Implement application-level cleanup for stale subscriptions, and monitor connected_clients and pubsub_channels for leaks.

How Netdata helps

  • Correlate redis.pubsub_channels and redis.pubsub_patterns with redis.cpu_utilization and redis.operations to identify when PUBLISH work is becoming expensive.
  • Track per-client output buffer metrics to catch subscribers nearing buffer limits before Redis disconnects them.
  • In cluster mode, monitor redis.cluster_stats_messages_sent and redis.cluster_stats_messages_received to detect classic Pub/Sub broadcast saturation.
  • Surface commandstats and latency events to tie latency spikes directly to PUBLISH or PSUBSCRIBE behavior.
  • Combine Redis metrics with system CPU, network, and memory charts to distinguish event-loop exhaustion from infrastructure-level contention.
The Netdata solution

Redis monitoring with Netdata

Netdata monitors Redis with per-second metrics and ML anomaly detection. Track memory usage and fragmentation, fork/COW latency, replication backlog, evictions, and connection pressure to spot the failure modes in these runbooks early.