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 / rabbitmq / rabbitmq-unroutable-messages-returned

Operations Guides

RabbitMQ unroutable messages returned: mandatory publishes with no matching binding

Your broker is accepting publishes, no queues are growing, and yet the return_unroutable counter is climbing. Messages are being published with mandatory=true to an exchange that cannot route them to any queue, and RabbitMQ is handing them back to the publisher instead of delivering them.

This is a configuration fault, not an infrastructure fault. The broker is healthy. The routing topology is not. Something changed: a binding was deleted, a queue was removed, an exchange was redeployed without its bindings, or a publisher is using a routing key that matches nothing. Because the publishers set mandatory=true, RabbitMQ is telling you exactly that messages have nowhere to go. The worse case is the default, mandatory=false, where unroutable messages are silently dropped and you see nothing at all.

This guide covers how to confirm the symptom, find which exchange and routing key is broken, and fix it without guesswork.

What this means

When a publisher sends a message with the mandatory flag set, it is making a deal with the broker: if you cannot route this to at least one queue, give it back to me. RabbitMQ honors that with a basic.return frame, which the client library surfaces through a returned-message handler. If the publisher also uses publisher confirms, the basic.return is sent before the basic.ack, because the broker confirms the publish even though the message went nowhere. The confirm tells you the broker accepted the message; it does not tell you the message reached a queue.

The return_unroutable counter in the broker’s message_stats increments every time this happens. Any sustained rate above zero means at least one publisher is emitting messages that match no binding on the target exchange.

flowchart LR
  P[Publisher
mandatory=true] -->|basic.publish| X[Exchange] X -->|binding match| Q[Queue] X -->|no matching binding| R[basic.return
to publisher] R --> C[return_unroutable
counter +1] Q --> D[deliver to consumer]

Two interactions change what you observe. First, if an alternate exchange (AE) is configured on the target exchange, unroutable messages are republished to it. That counts as routed for the purposes of the mandatory flag, so no basic.return is sent. Second, if the publisher never registered a return handler in its client library, the broker still sends basic.return and increments the counter, but the application silently swallows the returned message. In both cases the broker-side counter is your ground truth.

Common causes

CauseWhat it looks likeFirst thing to check
Binding deleted or never createdReturn rate jumps after a deployment or admin action; target queue exists but has no binding from the exchangeGET /api/exchanges/{vhost}/{exchange}/bindings/source
Queue deleted while publisher still activeReturns start at a specific time; the queue the publisher expects is gone from list_queuesrabbitmqctl list_queues name and compare against expected topology
Routing key mismatchPublisher emits keys like order.created.eu, bindings expect order.created.* (direct exchange) or a topic pattern that does not matchCompare a returned message’s routing key against binding keys/patterns
Topic pattern errorReturns only for a subset of routing keys; other keys route fineTest the failing key against the binding pattern by hand
Exchange recreated without bindingsExchange exists, publish rate is normal, zero bindings, returns on every publishBinding count on the exchange is zero
Alternate exchange misconfiguredNo returns visible, but messages are also not arriving in expected queuesCheck the exchange’s alternate-exchange argument and the AE’s own bindings

Quick checks

These are all read-only.

# 1. Confirm the counter and rate, cluster-wide
curl -s -u guest:guest http://localhost:15672/api/overview | jq '.message_stats | {publish, return_unroutable, deliver_get}'

# 2. List bindings on the suspect exchange (replace vhost/exchange; %2f is the default vhost "/")
curl -s -u guest:guest 'http://localhost:15672/api/exchanges/%2f/my.exchange/bindings/source' | jq '.'

# 3. Full binding inventory for the vhost
rabbitmqctl list_bindings source_name source_kind destination_name destination_kind routing_key arguments

# 4. Confirm the queues the publisher expects actually exist
rabbitmqctl list_queues name consumers messages_ready

# 5. Check the exchange's arguments for an alternate exchange
rabbitmqctl list_exchanges name type arguments

If you run the Prometheus plugin, the counter is also exposed as rabbitmq_channel_messages_unroutable_returned_total per channel and rabbitmq_global_messages_unroutable_returned_total as a cluster aggregate. The per-channel metric helps identify which client is affected, but it is not labeled by exchange, so you correlate the channel label back to the connection and application. The companion counter rabbitmq_channel_messages_unroutable_dropped_total tracks the mandatory=false case where messages vanish silently.

How to diagnose it

  1. Confirm the rate is real and sustained. Poll /api/overview two or three times a minute apart. return_unroutable is a cumulative counter; compute the rate by differentiation. A one-off burst during a deployment (queues being recreated) is often transient and expected. A sustained rate is a misconfiguration.

  2. Identify the affected exchange and vhost. The overview counter is global. Pull per-exchange message_stats to localize: GET /api/exchanges includes message_stats.return_unroutable per exchange. Find the exchange whose counter is incrementing.

  3. Dump the exchange’s bindings. Use GET /api/exchanges/{vhost}/{exchange}/bindings/source. If the list is empty, the exchange was declared without bindings, or they were deleted. If the list is non-empty, the problem is a key or pattern mismatch, not a missing binding.

  4. Capture a failing routing key. You need one concrete routing key that returned. Options: the publisher’s returned-message handler logs (if it has one), the RabbitMQ firehose tracer (rabbitmqctl trace_on, which adds significant overhead under load, so run it briefly and turn it off), or asking the publishing team which keys they emit. Compare that key against the binding list: exact match for direct exchanges, pattern match for topic exchanges, headers attributes for headers exchanges.

  5. Check for an alternate exchange. If the exchange has an alternate-exchange argument, unroutable messages go there instead of being returned. In that case return_unroutable will be zero and the AE’s queues are where your “lost” messages actually are. Inspect the AE’s bindings and depth.

  6. Correlate with a change. Returns almost always start at a specific moment: a deployment, a queue cleanup, a Terraform or definitions-file apply. Compare rabbitmqctl list_queues output against your change history for the vhost.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
message_stats.return_unroutable rateThe direct symptom; one increment per returned mandatory publishAny sustained rate > 0 for more than 5 minutes
Publish rate vs deliver_get rateIf publish is healthy but deliver_get is zero or far below publish, messages are not reaching queuesPublish » deliver_get sustained
Queue depth with active publishingZero depth on a queue whose publisher is active means nothing is arrivingDepth flat at zero while publish rate is non-zero
Per-exchange return_unroutableLocalizes the problem to one exchangeOne exchange accounting for all returns
messages_unroutable_dropped (Prometheus)Catches the silent case where publishers do not set mandatoryCounter increasing with no corresponding returns
Dead-letter queue depthIf unroutable messages are rerouted via an AE into a DLX-style queue, they accumulate thereAE-bound queue growing unexpectedly

Fixes

Group by what you found in diagnosis.

Missing binding

Re-create the binding with the correct key or pattern: rabbitmqadmin declare binding source=my.exchange destination=my.queue routing_key=order.created.# or via the management UI or definitions file. Then verify with the bindings/source endpoint and watch the return rate drop to zero. If the binding lives in a definitions file or IaC, fix it there too or the next apply will remove it again.

Deleted queue

Redeclare the queue and its bindings, then restart or resubscribe consumers. If the queue was deleted intentionally, the real fix is in the publisher: stop publishing to that route, or point it at the new topology. A correct mandatory publisher logs or retries returned messages; it does not discard them blindly.

Routing key or topic pattern mismatch

Decide which side is wrong. If the publisher’s key is a typo or version skew, fix the publisher. If the binding pattern is too narrow, widen it (for example order.* to order.# on a topic exchange). For topic exchanges, test the failing key against the pattern manually before changing anything: # matches zero or more words, * matches exactly one. A common mistake is expecting wildcard behavior on a direct exchange, where routing keys match exactly and no wildcard matching exists at all.

Alternate exchange gaps

If you added an AE expecting returns and see none, that is the designed behavior: AE routing counts as routed. If you want the safety net and the visibility, consume and monitor the AE’s queues explicitly, or alert on AE queue depth growth.

Plugin-specific behavior

If you use the x-delayed-message exchange plugin, there is a known issue where mandatory=true combined with a non-zero x-delay causes failures: messages are returned even when they do get routed. This is rabbitmq-delayed-message-exchange issue #7, closed by the plugin author as expected behaviour — the plugin does not support mandatory. Check the plugin issue tracker before treating returns on a delayed exchange as a topology problem.

Prevention

  • Treat bindings as code. Manage exchanges, queues, and bindings through a definitions file or IaC, applied atomically. Ad-hoc UI changes are how bindings silently disappear.
  • Publish with mandatory and a return handler. Setting mandatory=true without registering a returned-message handler gets you the broker counter but loses the message and the routing key. The handler should log the exchange, routing key, and message ID at minimum.
  • Use publisher confirms with the right mental model. A confirm means “broker accepted it,” not “a queue got it.” Only the return handler (or an AE) protects against unroutable loss.
  • Configure an alternate exchange on critical exchanges. It converts silent loss into a visible, consumable backlog. Monitor the AE queue depth.
  • Alert on the rate, not the counter. return_unroutable > 0 sustained for 5 minutes is a ticket-worthy condition. It will not escalate to infrastructure damage on its own, so it does not need to page, but every minute it runs, messages are not reaching their destination.
  • Cover the silent case. The default mandatory=false drops unroutable messages with no return and no return counter. The complementary detection pattern is “publish rate non-zero, deliver_get zero, queue depth flat.” Monitor that composite, or the Prometheus dropped counter, so the default case is not invisible.

How Netdata helps

  • Return unroutable rate as a first-class chart. Netdata collects message_stats from the management API, so return_unroutable is graphed alongside publish, deliver, and ack rates rather than buried in a counter you have to poll by hand.
  • Composite pattern detection. The dangerous signature is publish rate non-zero with deliver_get at zero and flat queue depth. Seeing all three on one dashboard is what turns “everything looks green” into “messages are vanishing.”
  • Rate computation done for you. Broker counters are cumulative; Netdata differentiates them, so a sustained trickle of returns is visible instead of being lost in a slowly rising total.
  • Per-queue context. When you find the broken route, per-queue depth, consumer count, and ack rate confirm whether the destination queue is actually receiving and draining after the fix.
  • Topology change correlation. Queue churn (queues created/deleted) on the same timeline as the first returned message usually points straight at the change that broke the binding.