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 / fluentd / fluentd-retry-storm ▌

Operations Guides

Fluentd retry storm: thundering-herd resonance that keeps a destination down

Your log destination had a hiccup. It recovered. Then it fell over again. And again. Each time it comes back, it survives for a minute or two, gets hit by a wall of buffered log traffic, and falls over. Fluentd’s own metrics look confusing: retries intermittently succeed, the buffer queue drains a little, then grows again. The destination team insists their service “works fine when we test it.”

This is a retry storm with resonance. After a destination failure, many Fluentd output plugins, or many Fluentd pods in a DaemonSet, enter retry at roughly the same time. Their backoff timers are aligned because they all started failing at the same moment. When the backoff expires, they all retry at once. The just-recovering destination, which has no capacity headroom yet, gets hammered by the synchronized burst and fails again. Retries reset, timers realign, and the cycle repeats. The destination is not the problem anymore. The retry behavior is.

This article covers how to recognize the oscillation pattern, how to confirm it with Fluentd’s monitor_agent API, and how to break the loop without losing buffered data.

What this means

Fluentd’s output plugins retry failed chunk flushes with exponential backoff. That is correct behavior for a single output talking to a struggling destination: back off, give the destination room, try again later. The failure mode appears when the retrying population is large and synchronized:

  • Many output plugins in one Fluentd instance fail at the same time because they share a destination.
  • Many Fluentd instances in a Kubernetes DaemonSet fail at the same time because they all talk to the same destination.
  • All of them started their backoff clocks at the same moment: the moment the destination went down.

Fluentd v1.x randomizes retry timing by default (retry_randomize true), but the jitter window is narrow: the retry interval is multiplied by a random factor between 0.875 and 1.125, a spread of only +/-12.5%. With 50 DaemonSet pods all retrying on a 60-second backoff, that jitter spreads the burst across roughly 15 seconds. To a destination that just came back up cold, that is still one burst.

The result is an oscillator, not a recovery:

flowchart LR
  A[Destination hiccup] --> B[All outputs enter retry at once]
  B --> C[Backoff timers aligned]
  C --> D[Destination recovers]
  D --> E[Synchronized retry burst]
  E --> F{Survives?}
  F -- "no: overloaded" --> G[Destination fails again]
  G --> B
  F -- "yes: drains backlog" --> H[Normal operation]

The distinguishing feature, and the thing that separates this from a plain destination outage, is that retries intermittently succeed. Some chunks flush during the brief up window. write_count ticks up, the queue drains slightly, then the destination falls over and everything rolls back again. A clean recovery shows steady drain. Resonance shows spiky, sawtooth drain.

Common causes

CauseWhat it looks likeFirst thing to check
Synchronized DaemonSet retriesAll pods show retry activity in the same time windows; destination load spikes periodicallyCompare retry_count and retry.next_time across several pods
retry_randomize overridden to falseRetry attempts across outputs cluster at exact backoff boundariesInspect the applied output config via monitor_agent (set include_config true in its source on v1.19.3+)
Default backoff too aggressive for the destinationDestination recovers but is hit within seconds by the first retry waveCheck retry_wait and whether retry_max_interval is set
Destination undersized for backlog drainDestination is healthy at steady state but cannot absorb buffered backlog plus live trafficCompare destination capacity to queued bytes across all Fluentd instances
No rate limiting at the destinationDestination accepts connections unboundedly, then collapses under loadDestination-side metrics: connection count, queue depth during the burst

A note on defaults: in Fluentd v1.x, retry_type defaults to exponential_backoff with retry_wait 1s and a backoff base of 2, so retry intervals grow 1s, 2s, 4s, and so on. retry_max_interval defaults to nil, meaning uncapped, so late-stage retries can be hours apart. retry_timeout defaults to 72 hours, after which chunks are discarded. The early retries are the storm risk; the late retries are a slow-recovery risk. You often have to fix both.

Quick checks

All checks assume the monitor_agent is enabled (<source> @type monitor_agent </source>, default port 24220). All are read-only.

# 1. Which outputs are retrying right now, and how often
curl -s http://localhost:24220/api/plugins.json | \
  jq '.plugins[] | select(.plugin_category=="output") | {id: .plugin_id, retries: .retry_count, rollbacks: .rollback_count}'

# 2. Current retry state: how deep in backoff, and when is the next attempt
curl -s http://localhost:24220/api/plugins.json | \
  jq '.plugins[] | select(.plugin_category=="output") | select(.retry != null) | {id: .plugin_id, steps: .retry.steps, next_time: .retry.next_time}'

# 3. Is the queue draining or oscillating? Sample twice, 60s apart
curl -s http://localhost:24220/api/plugins.json | \
  jq '.plugins[] | select(.plugin_category=="output") | {id: .plugin_id, queue: .buffer_queue_length, bytes: .buffer_total_queued_size}'

# 4. Are writes succeeding intermittently (the resonance signature)?
curl -s http://localhost:24220/api/plugins.json | \
  jq '.plugins[] | select(.plugin_category=="output") | {id: .plugin_id, writes: .write_count}'

# 5. Verify retry configuration actually applied to each output
# (v1.19.3+ ignores the ?with_config query parameter; set include_config true
#  in the monitor_agent source instead)
curl -s http://localhost:24220/api/plugins.json | \
  jq '.plugins[] | select(.plugin_category=="output") | {id: .plugin_id, config: .config}'

Check 2 is the most diagnostic. In a resonance loop, retry.steps stays low (retries keep resetting after brief successes) while retry.next_time values across pods or outputs cluster tightly together. In backoff exhaustion after a long outage, retry.steps is large and retry.next_time is far in the future. Those are different problems with different fixes; see Fluentd BufferOverflowError for the exhaustion side.

For a DaemonSet, run checks 1 and 2 against several pods at the same moment. If their next_time values fall within a few seconds of each other, you have confirmed synchronization.

How to diagnose it

  1. Confirm the destination is flapping, not down. Check the destination’s own health independently of Fluentd: its error rate, connection count, and CPU during the incident window. Resonance requires the destination to be intermittently up. If it has been hard down the whole time, this is a plain backpressure cascade, not a retry storm.

  2. Sample write_count and buffer_queue_length over several minutes. You are looking for a sawtooth: queue drains partially, then grows again; writes increment in bursts, then flatline. Steady drain means normal recovery. Flat queue with zero writes means sustained outage.

  3. Check retry alignment across the fleet. Poll retry.next_time on multiple DaemonSet pods within the same minute. Tight clustering (within the jitter window) confirms synchronized backoff.

  4. Verify retry_randomize is actually in effect. The v1.x default is true, but older config templates carried forward sometimes explicitly set retry_randomize false. Check the applied config via the monitor_agent API (include_config true in its source, since v1.19.3 ignores query parameters), not the file you think is deployed.

  5. Estimate the burst size the destination must absorb. Sum buffer_total_queued_size across all instances pointing at this destination, plus the live input rate. If that total exceeds what the destination can ingest in the first minute after recovery, it will fall over again no matter how the retries are timed. The fix must then include destination-side capacity or rate limiting, not just retry tuning.

  6. Rule out a permanent error masquerading as a storm. Authentication failures and schema rejections also produce retries, but they never intermittently succeed. If every retry fails with the same 401, 403, or mapping error, fix the credential or schema problem; no amount of backoff tuning will help. Check Fluentd’s logs for the specific error: grep -iE "(401|403|unauthorized|forbidden)" /var/log/td-agent/td-agent.log | tail -20 (adjust the path for fluent-package or your container log location).

Metrics and signals to monitor

SignalWhy it mattersWarning sign
retry_count per outputCounts retry error events; the primary “destination is failing” signalOscillating increments across many outputs or pods in the same windows
retry.steps and retry.next_timeShows current backoff depth and next attempt timenext_time values clustered tightly across the fleet
write_count rateTells you whether chunks are actually being deliveredBursty increments alternating with flat periods (sawtooth)
rollback_countChunks dequeued, failed, and returned to the queueRising in the same windows as destination load spikes
buffer_queue_lengthBacklog depthPartial drain followed by regrowth, repeating periodically
buffer_available_buffer_space_ratiosProximity to overflow during each failed cycleRatcheting downward cycle over cycle; each failed recovery loses headroom
flush_time_count / write_countAverage flush latencySpikes during the burst windows, indicating the destination is struggling before it falls

The most dangerous property of a retry storm is that it compounds. Each failed cycle leaves the buffer fuller than the last, so each subsequent burst is bigger. Watch buffer_available_buffer_space_ratios across cycles: if each trough is lower than the previous one, you are on a countdown to overflow and data loss, not a stable oscillation.

Fixes

Break the synchronization

Verify retry_randomize true. This is the v1.x default, but confirm it in the applied config and remove any explicit retry_randomize false overrides from templates. Be aware of the limit: the default jitter is only +/-12.5%, which helps a handful of outputs but does not spread a 50-pod DaemonSet burst very much. Jitter alone is usually not sufficient.

Increase retry_wait. The default base interval is 1 second, which means the first retry wave hits the destination almost immediately after it recovers. Raising retry_wait (for example to 5s or 10s) gives the destination real recovery time before the first wave arrives, and scales the entire backoff ladder up.

Set retry_max_interval. Without a cap, exponential backoff grows unboundedly, which creates a second problem: after the storm is over, some chunks sit hours away from their next attempt. A cap such as 60s or 300s bounds worst-case delivery delay and also makes the retry cadence more uniform, which is easier to reason about at the destination.

Example buffer section for an output pointing at a fragile destination:

<buffer>
  retry_randomize true
  retry_wait 10s
  retry_max_interval 300s
</buffer>

Apply this with a rolling restart of the DaemonSet, not a simultaneous restart of all pods. A fleet-wide restart re-synchronizes everything: all pods replay their file buffers and start flushing at once, which is itself a thundering herd.

Reduce what the destination must absorb

Rate-limit at the destination. If the destination supports ingress rate limiting or connection caps, use them. A destination that degrades gracefully under overload (rejecting excess load quickly) recovers far better than one that accepts everything and collapses. Fluentd will retry the rejected chunks, which is the correct behavior.

Scale the destination for the drain, not the steady state. The load during recovery is live traffic plus the buffered backlog across every Fluentd instance. If the destination is sized only for steady state, it will fall over every time there is a backlog to drain. Either provision drain headroom or accept slower drain via tighter rate limits.

Stagger the retrying population. If you control the DaemonSet rollout, restarting pods in small batches during the incident desynchronizes their retry timers. This is an operational lever, not a config change, and it works immediately.

What not to do

Do not set retry_forever true or raise retry_timeout as a first response. That keeps chunks alive longer but does nothing about the storm; it just means the oscillation runs longer before data loss. Also note the failure at the other end: when retry limits are hit, chunks are discarded (or, on Fluentd v1.19.0+ with file buffers, evacuated to ${root_dir}/buffer/${plugin_id}/ — falling back to /tmp/fluent via FLUENT_BACKUP_DIR when no <system> root_dir is configured — for manual recovery). If you are approaching that point, treat it as an overflow incident and follow Fluentd BufferOverflowError.

Prevention

  • Set explicit retry parameters on every production output. Do not rely on defaults you have not reviewed: retry_randomize true, a retry_wait that reflects the destination’s real recovery time, and a retry_max_interval cap. Put these in your base config template so new outputs inherit them.
  • Use file-backed buffers. Memory buffers turn every storm cycle into an OOM risk as the backlog grows. See Fluentd memory vs file buffer.
  • Size buffers for the storm case. The backlog during an oscillating incident is larger than during a single outage because recovery keeps failing. Compute time-to-overflow under sustained failure and keep headroom; see Fluentd buffer available space low.
  • Alert on the resonance signature, not just on retries. A retry_count alert fires on any destination hiccup. Add detection for the oscillation: write_count rate alternating between zero and bursty, or buffer_queue_length failing to make net progress over 15 to 30 minutes while retries are active.
  • Track retry state, not just the counter. retry.steps and retry.next_time tell you whether the pipeline is cycling fast (storm) or parked in deep backoff (exhaustion). Both look like “retrying” if you only watch the counter.
  • Load-test destination recovery. Periodically verify the destination can absorb a full backlog drain. Most teams test steady-state throughput and never test the recovery burst, which is the actual failure condition.

How Netdata helps

  • Netdata collects Fluentd’s monitor_agent metrics per output plugin, so retry_count, rollback_count, write_count, and buffer_queue_length are visible on the same timeline, which is the correlation you need to see the sawtooth pattern.
  • Per-second collection granularity makes the burst structure visible. Coarser sampling smooths the oscillation into a flat line and hides the resonance.
  • Buffer available space ratio is tracked as a gauge over time, so the cycle-over-cycle ratchet toward overflow is visible before overflow_action fires.
  • In Kubernetes, per-pod views let you compare retry timing across DaemonSet instances to confirm fleet-wide synchronization rather than a single misbehaving pod.
  • Anomaly detection on write_count and queue depth flags the oscillation regime (repeating partial drains) even when no static threshold is breached.