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-buffer-available-space-low ▌

Operations Guides

Fluentd buffer available space low: computing time-to-overflow before it fires

The monitor_agent metric buffer_available_buffer_space_ratios tells you what percentage of an output plugin’s configured buffer capacity is still free. When it drops, the buffer is filling. When it hits zero, the overflow_action fires: with the default throw_exception, new events are rejected at the input with a BufferOverflowError; with block, input threads stall; with drop_oldest_chunk, your oldest undelivered data is thrown away. None of those are outcomes you want to discover after the fact.

The trap is that the raw percentage is a bad alerting signal on its own. Twenty percent free on a default 64 GB file buffer is still roughly 12.8 GB of runway, which might be days of headroom or eight minutes, depending entirely on how fast the buffer is growing. A static “alert below 20%” rule pages you for a stable, healthy batch workload and stays silent on a fast-filling buffer that blows through 40% to zero in one bad hour.

The number that actually matters is time-to-overflow: how long until the buffer is full at the current fill rate. This article shows how to compute it from monitor_agent data, which thresholds to act on, and what to do at each level. For the broader buffer health picture, see Fluentd buffer queue length growing and the mental model in How Fluentd actually works in production.

What this means

Every output plugin in Fluentd has a buffer with a configured total_limit_size. The defaults are 512 MB for memory-backed buffers and 64 GB for file-backed buffers. Events accumulate in chunks, which move from staged (filling up) to queued (waiting to flush) to flushed. The monitor_agent reports the fill state per output plugin:

  • buffer_available_buffer_space_ratios: percentage of total_limit_size still free, 0 to 100. It counts both staged and queued chunks against the limit.
  • buffer_total_queued_size: total bytes currently held, staged plus queued. The breakdown is available as buffer_stage_byte_size and buffer_queue_byte_size.

Available space in bytes is total_limit_size - buffer_total_queued_size. The ratio field is just that expressed as a percentage.

flowchart TD
  A[buffer_available_buffer_space_ratios low] --> B{Is buffer_total_queued_size still growing?}
  B -- "No: stable level" --> C[Not urgent. Batch backlog or drained burst. Watch, do not page.]
  B -- "Yes: shrinking headroom" --> D[Compute time-to-overflow = available_bytes / growth_rate]
  D --> E{Ratio and runway}
  E -- "< 20% and growing" --> F[Investigate now: find why output is not draining]
  E -- "< 5% and growing" --> G[Overflow minutes away: act before overflow_action fires]
  D --> H{File buffer?}
  H -- "Yes" --> I[Check filesystem free space on buffer mount: it may be the real limit]

One version caveat before you trust any of this: on Fluentd versions before v1.10.0, buffer_available_buffer_space_ratios could only report 0 or 100 due to an integer rounding bug (fixed in v1.10.0). If you are on an older version, ignore the ratio field entirely and compute the percentage yourself from buffer_total_queued_size against your configured total_limit_size.

Why a static percentage alert misleads

Two failure modes:

False positives. A time-sliced output (for example, hourly S3 uploads) legitimately holds large buffers between flushes. The ratio can sit at 15% for fifty minutes and then drain to 95% when the slice expires. A static threshold pages you every cycle.

False negatives. A destination that just went down on a busy aggregator can fill gigabytes per minute. By the time a 20% threshold crosses, you might have ten minutes of runway left, and your paging loop plus escalation time eats most of it.

The fix is to combine the level with the direction and speed: alert on low ratio AND positive growth, and escalate on short computed time-to-overflow.

Quick checks

All of these are read-only.

# Per-output available space ratio, queue, and stage sizes
curl -s http://localhost:24220/api/plugins.json | \
  jq '.plugins[] | select(.plugin_category=="output") |
      {id: .plugin_id,
       avail_pct: .buffer_available_buffer_space_ratios,
       total_bytes: .buffer_total_queued_size,
       stage_bytes: .buffer_stage_byte_size,
       queue_bytes: .buffer_queue_byte_size,
       queue_chunks: .buffer_queue_length}'
# Is the output actually delivering? write_count should be incrementing.
curl -s http://localhost:24220/api/plugins.json | \
  jq '.plugins[] | select(.plugin_category=="output") |
      {id: .plugin_id, writes: .write_count, retries: .retry_count, rollbacks: .rollback_count}'
# Retry state: if retry.next_time is far in the future, recovery is slow
curl -s http://localhost:24220/api/plugins.json | \
  jq '.plugins[] | select(.plugin_category=="output") | {id: .plugin_id, retry: .retry}'
# For file buffers: filesystem free space on the buffer mount (find buffer_path in your config first)
grep -E "buffer_path|@type file" /etc/td-agent/td-agent.conf
df -h /var/log/td-agent/buffer/   # adjust to your buffer_path
du -sh /var/log/td-agent/buffer/

In multi-worker mode, each worker has its own monitor_agent port (24220 + worker_id) and its own independent buffer. Check each one; aggregates hide a single worker that is about to overflow.

Computing time-to-overflow

Fluentd does not expose a time-to-overflow metric. You compute it externally from two samples of buffer_total_queued_size:

  1. Sample buffer_total_queued_size for the output plugin at time t0.
  2. Sample again after a fixed interval, for example 60 seconds, at t1.
  3. Growth rate = (size_t1 - size_t0) / (t1 - t0) in bytes per second. If the value is zero or negative, the buffer is draining and there is no overflow risk right now.
  4. Available bytes = total_limit_size - size_t1 (or total_limit_size * ratio / 100 if you trust the ratio field on v1.10.0+).
  5. Time-to-overflow = available_bytes / growth_rate.
# Two-sample growth rate and time-to-overflow for one output plugin
PLUGIN="output_plugin_id"          # your plugin_id from plugins.json
LIMIT_BYTES=68719476736            # total_limit_size: 64GB file buffer default; use your configured value

read S0 T0 < <(curl -s http://localhost:24220/api/plugins.json | \
  jq -r --arg p "$PLUGIN" '.plugins[] | select(.plugin_id==$p) | "\(.buffer_total_queued_size) \(now|floor)"')
sleep 60
read S1 T1 < <(curl -s http://localhost:24220/api/plugins.json | \
  jq -r --arg p "$PLUGIN" '.plugins[] | select(.plugin_id==$p) | "\(.buffer_total_queued_size) \(now|floor)"')

RATE=$(( (S1 - S0) / (T1 - T0) ))
AVAIL=$(( LIMIT_BYTES - S1 ))
if [ "$RATE" -le 0 ]; then
  echo "buffer draining or stable (rate=${RATE} B/s), no overflow risk"
else
  echo "growth=${RATE} B/s, available=${AVAIL} bytes, time-to-overflow=$(( AVAIL / RATE )) seconds"
fi

A worked example: file buffer, default 64 GB total_limit_size, ratio at 20%. Available space is about 12.8 GB. Your two samples show buffer_total_queued_size grew by 3.2 GB in 60 seconds, so the growth rate is roughly 53 MB/s. Time-to-overflow is 12.8 GB / 53 MB/s, about 4 minutes. That is a page-now situation even though 20% free sounds comfortable. The same 20% with a growth rate of 1 MB/s gives you over 3.5 hours, which is a ticket during business hours.

Sampling caveats:

  • Flush cycles make the size sawtooth. A chunk flush between your two samples can make the growth rate look negative even while the destination is slowly failing. Use at least a 60 second window, and prefer a rolling average over several windows for alerting.
  • Bursty inputs (batch jobs, log storms) produce short-lived growth spikes. Require the growth condition to persist across consecutive windows before escalating.
  • For file buffers, run the same computation against filesystem free space on the buffer mount: df bytes free divided by the same growth rate. Fluentd’s accounting limit and the disk limit are independent ceilings, and the disk one can hit first, especially if the buffer shares a partition with other data. The smaller of the two runways is your real one.

Thresholds and what to do at each level

ConditionMeaningAction
Ratio low but stable, delta(buffer_total_queued_size) <= 0Drained burst or time-sliced backlogWatch only. No page.
Ratio < 20% and growingOutput is not keeping pace; runway is being consumedInvestigate now: check retry_count, write_count, destination health
Ratio < 5% and growingOverflow is minutes awayPage. Act before overflow_action fires
Computed time-to-overflow < 15 minSame as above, rate-adjustedPage regardless of the raw percentage
Filesystem runway < buffer runway (file buffers)Disk will fill before total_limit_sizeTreat disk exhaustion as the overflow deadline

Keep buffer_available_buffer_space_ratios above roughly 30% during normal operation. If your baseline sits below that, the buffer is undersized for the workload or the output is chronically slow.

Common causes

CauseWhat it looks likeFirst thing to check
Destination down or unreachableretry_count rising, write_count flat, queue bytes growingDestination health directly (curl the endpoint), Fluentd error log
Destination slow, not downAverage flush time (flush_time_count / write_count) rising, slow_flush_count incrementingAverage flush time vs flush_interval
Retry storm with long backoffretry.steps high, retry.next_time far in the future, queue high but staticThe retry object in the API; restart resets retry state after the cause is fixed
Buffer undersized for the workloadRatio chronically low even with healthy output, drops correlate with peak hoursBaseline ratio over a week; compare against total_limit_size defaults
Filesystem filling (file buffer)df free space falling faster than Fluentd’s accounting suggestsdf and du on the buffer path; check what else shares the partition
Silent drops already happeningRatio pinned near 0, input emit_records stalled or gapped vs downstreamoverflow_action config; BufferOverflowError warnings in the Fluentd log

Fixes

Restore the output drain rate

This is the root cause in most incidents. Confirm whether the destination is down (retry_count rising, write_count flat) or slow (average flush time climbing). Fix the destination first; everything else buys time. If retries have backed off so far that retry.next_time is many minutes out, restarting Fluentd after the destination recovers resets retry state and speeds up the drain. Restarting is disruptive: it interrupts in-flight flushes and, with memory buffers, discards everything buffered. Queued chunks in file buffers survive and resume on restart. Do it only after the underlying cause is fixed.

Buy runway

For file buffers, raising total_limit_size only helps if the filesystem has the space. Keep filesystem free space at least 2x the configured total_limit_size so Fluentd’s limit, not ENOSPC, is what fires first. If the disk is the binding constraint, free space or move the buffer path. Do not run file buffers on remote filesystems (NFS and similar); the upstream documentation warns that the file buffer must not be used on remote file systems (NFS, GlusterFS, HDFS, etc.) because major data loss has been observed there.

Choose overflow behavior deliberately

If overflow is genuinely unavoidable, know what your overflow_action does. throw_exception (default) rejects new events with a BufferOverflowError, and there is no reliable built-in counter for how much was lost. block exerts backpressure on inputs, which can stall the whole process and push loss upstream. drop_oldest_chunk loses old data but keeps the pipeline moving and increments drop_oldest_chunk_count (exposed by monitor_agent since v1.19.0). A <secondary> output gives exhausted chunks somewhere to go; write_secondary_count tells you when it engaged.

Reduce intake

If the destination will be down for a while and the buffer cannot hold the gap, shedding load at the input (for example, in_tail group rate limiting, which surfaces as the throttled_log_count in_tail stat in monitor_agent, v1.17.1+) is a controlled loss instead of an uncontrolled one.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
buffer_available_buffer_space_ratiosPercentage of capacity left< 20% and shrinking; < 5% is imminent overflow
buffer_total_queued_size (delta)Growth rate for time-to-overflowPositive slope sustained across windows
buffer_stage_byte_size vs buffer_queue_byte_sizeStage high is normal batching; queue high is backpressureQueue bytes growing while stage stays flat
write_countProof chunks are drainingFlat while queue grows
retry_count and retry.next_timeDestination failing; backoff state shows real recovery timeNon-zero retries; next_time far out
drop_oldest_chunk_countConfirmed data loss with drop_oldest_chunkAny increment
Filesystem free space on buffer mountReal ceiling for file buffersFalling; below 2x total_limit_size

Prevention

  • Alert on level plus direction. ratio < 20% AND delta(buffer_total_queued_size) > 0 for a ticket; < 5% AND growing for a page. Never alert on the static percentage alone.
  • Track time-to-overflow as a first-class metric. Compute it in your monitoring pipeline from successive samples, not by hand during incidents.
  • Monitor the buffer mount separately. Filesystem free space on the buffer path is an independent overflow clock for file buffers.
  • Size for the worst outage you will tolerate. If you want the buffer to absorb a 2 hour destination outage at peak ingest rate, total_limit_size (and the disk behind it) must hold 2 hours of peak bytes.
  • Watch the drain signals, not just the fill signals. write_count, average flush time, and retry state degrade before the ratio moves. See the Fluentd monitoring checklist for the full signal set.

How Netdata helps

  • Netdata collects Fluentd monitor_agent metrics per output plugin, including buffer_available_buffer_space_ratios, queue and stage byte sizes, so the fill level and its trend are on one dashboard instead of two curl commands.
  • Growth-rate based alerting is native: you can alert on the derivative of buffer_total_queued_size combined with the ratio level, which is exactly the “low AND shrinking” condition this article describes, instead of a static percentage.
  • Retry count, write count, and rollback count sit next to the buffer charts, so when the ratio drops you can see in the same view whether the output stalled, is retrying, or is draining slowly.
  • Host filesystem metrics for the buffer mount are collected alongside the Fluentd metrics, which makes the “disk is the real limit” comparison a visual correlation rather than a separate df check.
  • Per-second granularity catches the sawtooth flush pattern, so you can tell a draining sawtooth from a monotonic fill that a 60 second sample would hide.