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 / activemq / activemq-expired-messages ▌

Operations Guides

ActiveMQ expired message count climbing: TTL expiry and silent correctness loss

A queue looks fine. QueueSize is stable, dequeue rate is non-zero, no alerts on memory or store. Then someone asks why a customer order never processed, and you find ExpiredCount on the destination has been climbing for days. Every tick of that counter is a message the broker threw away or shuffled into the DLQ because its TTL ran out before a consumer got to it. Nothing crashed. Nothing paged. The data is just gone.

Expired messages are one of the quietest failure modes in ActiveMQ Classic. The broker stays green on every saturation signal while correctness erodes underneath. Worse, expiry actively hides backlog: if messages expire as fast as they arrive, QueueSize looks stable and the queue appears healthy while real work is being dropped.

This guide covers how to read ExpiredCount, how to tell whether expiry is intentional load-shedding or silent data loss, and how to fix the root cause instead of papering over it.

What this means

Every JMS message can carry a time-to-live. If a message sits in the broker past its TTL without being consumed, the broker expires it. The per-destination ExpiredCount JMX attribute is a cumulative counter of how many messages this has happened to. It only ever goes up; you need two readings to get a rate.

What happens to an expired message depends on the destination’s dead letter strategy:

  • processExpired="true" (default): expired persistent messages are moved to the DLQ. They stop counting against the source queue, but they land in ActiveMQ.DLQ (or a per-destination DLQ) where they accumulate with no TTL by default. Expiry silently feeds DLQ growth.
  • processExpired="false": expired messages are simply discarded. No DLQ entry, no advisory event, no trace. This is the purest form of silent correctness loss.

Either way, the message never reached a consumer. Whether that is a disaster or a design choice depends entirely on the queue. A telemetry stream with a 30-second TTL is supposed to shed stale data. An order queue where messages expire after five minutes of consumer lag is losing money one message at a time.

One more subtlety: expiry is not instantaneous. The broker checks for expired messages periodically (during dispatch, prefetch fill, and a background expiration pass), so messages can live past their TTL before the broker reclaims them. QueueSize can briefly include already-dead messages.

flowchart TD
  P[Producer sends with TTL] --> Q[Queue pending]
  Q --> C{Consumed before TTL?}
  C -- yes --> OK[Dequeued and acked]
  C -- no --> E[Message expires, ExpiredCount +1]
  E --> D{processExpired?}
  D -- "true (default)" --> DLQ[Moved to DLQ, no TTL, accumulates]
  D -- false --> GONE[Discarded, no advisory, no trace]
  DLQ --> RISK[Store growth and buried poison messages]
  GONE --> LOSS[Silent correctness loss]

Common causes

CauseWhat it looks likeFirst thing to check
Consumer lag exceeds TTLExpiredCount climbs alongside rising message age; dequeue rate too low for enqueue rateOldest message age vs configured TTL
No consumers on the destinationConsumerCount = 0, enqueue continues, everything eventually expiresConsumerCount on the destination
TTL set too aggressivelyExpiry rate tracks enqueue rate proportionally even with healthy consumersProducer-side TTL setting vs real end-to-end latency
Consumers connected but stuckInFlightCount pinned at prefetch, dequeue near zero, expiry climbingInFlightCount vs prefetch size
Wrong destination or selector mismatchProducers send, no consumer’s selector matches, messages sit until TTLConsumer selectors vs message properties
Intentional expiry misread as failureExpiredCount non-zero on a queue designed to shed stale dataWhether the queue’s TTL policy is deliberate

Quick checks

All of these are read-only. They assume the Jolokia HTTP JMX bridge on the web console port (8161); adjust the broker name and credentials to your deployment.

# Expired message count for one queue (cumulative; take two readings for a rate)
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=MY.QUEUE/ExpiredCount'

# Expired count across all queues at once
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=*/ExpiredCount'

# Queue depth, consumer count, inflight on the same destination
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=MY.QUEUE/QueueSize,ConsumerCount,InFlightCount'

# Enqueue and dequeue counters (compute rates from deltas)
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=MY.QUEUE/EnqueueCount,DequeueCount'

# DLQ depth: is expiry feeding the dead letter queue?
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=ActiveMQ.DLQ/QueueSize'

Two readings of ExpiredCount separated by a known interval give you the expiry rate. Divide by the enqueue rate over the same window: that ratio is the single most useful number in this investigation.

How to diagnose it

  1. Quantify the loss. Read ExpiredCount twice, 60 seconds apart, on the affected destination. Do the same for EnqueueCount. Compute expired_rate / enqueue_rate. A ratio of 0.02 means one message in fifty is dying before consumption. On a critical queue, anything above zero deserves an explanation.

  2. Check whether expiry is masking backlog. A stable QueueSize with a non-zero expiry rate means a real backlog can be hidden: messages leave the queue by dying instead of by being consumed. If QueueSize is flat but EnqueueCount is climbing and dequeue is low, expiry is your invisible drain.

  3. Verify consumers exist and are working. ConsumerCount of zero on a production queue means every message lives out its TTL and dies. ConsumerCount greater than zero with InFlightCount pinned at total prefetch means consumers are connected but not acking, which produces the same expiry outcome with a different root cause.

  4. Check message age. Browse the queue and read the JMSTimestamp of the oldest pending message. If the oldest message is already near the TTL, pipeline latency has grown to the edge of the TTL and any further slowdown becomes expiry. Browsing is expensive on deep queues, so use it once for diagnosis, not as a polling loop.

  5. Find where expired messages go. Read the destination policy in activemq.xml. If processExpired is unset, it defaults to true: check DLQ depth and confirm the growth rate matches the expiry rate. If processExpired="false", the messages are gone and the only record is the counter itself.

  6. Inspect DLQ contents. If expired messages are landing in the DLQ, browse a few and look at JMSDestination and the message properties. This tells you which source queues are bleeding and sometimes why (for example, a producer that started stamping short TTLs after a deploy).

  7. Confirm intent. Ask the owning team: is TTL on this queue a deliberate load-shedding policy, or an inherited default? A queue where expiry is by design needs a monitored threshold, not a fix. A queue where nobody knew TTL was set needs a producer change.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
ExpiredCount rate per destinationEach tick is a lost business eventAny sustained non-zero rate on a queue designed for zero expiry
Expired / enqueued ratioNormalizes loss to traffic; the best alert thresholdAbove zero on critical queues, sustained >5 minutes
ConsumerCountZero consumers means everything enqueued will expireZero on a queue with active producers
InFlightCount vs prefetchConsumers connected but not acking leads to TTL death in prefetch limboInflight pinned at prefetch with collapsed dequeue
Oldest message ageShows how close the pipeline is running to the TTLAge approaching TTL
DLQ QueueSize and growth rateWith default processExpired, expiry feeds DLQ growth silentlyDLQ growth rate matching expiry rate
StorePercentUsageExpired messages parked in the DLQ have no TTL and pin store spaceSlow climb correlating with DLQ depth
DequeueCount rateMessages moved to DLQ count as dequeued from the source queue, so a “healthy” dequeue rate can actually be DLQ transfersDequeue non-zero while consumers report no messages processed

Fixes

Consumers are too slow or absent

The most common root cause: messages outlive their TTL because consumption cannot keep up.

  • Restore or scale consumers. If ConsumerCount is zero, that is the fix. If consumers are up but slow, profile the processing path (downstream database, external API, thread pool) before touching broker settings.
  • Unstick saturated consumers. InFlightCount pinned at prefetch with no acks means messages are dying in consumer buffers. Reduce prefetch so fewer messages are held hostage per consumer, and fix whatever is blocking acks. See the inflight guide linked below for that pattern.
  • Do not just raise the TTL. Extending TTL without fixing consumption converts expiry into backlog. The messages survive longer, memory and store grow, and you trade silent loss for a flow-control incident later.

TTL is set wrong

  • Align TTL with real pipeline latency. Measure actual enqueue-to-consume latency at peak, then set TTL with headroom above it. If producers copied a TTL from a tutorial or a different queue, that number is probably meaningless for this flow.
  • Remove TTL where loss is unacceptable. If the business event must not be dropped, TTL should be absent and backpressure should come from flow control, not expiry. That is a producer-side change.

Expired messages are polluting the DLQ

With the default processExpired="true", expired messages mix with genuine poison messages in the DLQ, burying the ones that actually need investigation and consuming store with no TTL.

  • Set processExpired="false" on queues where expiry is expected (telemetry, cache-invalidation, presence updates). This stops DLQ pollution. The tradeoff is real: discarded messages leave no DLQ record, so you are choosing the counter as your only evidence. Only do this where the loss is genuinely tolerable.
  • Use per-destination DLQs (IndividualDeadLetterStrategy) so expired messages from one noisy queue do not bury poison messages from critical queues.
  • Put an expiration on DLQ messages. DLQ messages have no TTL by default and accumulate forever, pinning store. The dead letter strategy supports an expiration attribute in milliseconds (introduced in ActiveMQ 5.12). Do not apply it via a wildcard policy that matches the DLQ destinations themselves, or an expiring DLQ entry can be forwarded into another DLQ and loop.
  • Do not disable the expiry scan to hide the symptom. expireMessagesPeriod controls how often the broker sweeps for expired messages (default 30000 ms; setting it to 0 disables the periodic background expiry sweep). Setting it to 0 stops the counter from moving but leaves dead messages occupying memory and store. That trades visible loss for invisible resource exhaustion.

Prevention

  • Alert on the ratio, not the counter. expired_rate / enqueue_rate with a threshold of zero on critical queues, sustained over a few minutes, is the alert that catches this. Absolute counts false-positive on low-traffic queues.
  • Alert on DLQ depth and growth separately. Any non-zero DLQ depth is a ticket; growth rate relative to enqueue rate is the severity signal. Expiry and poison messages both land here by default.
  • Correlate dequeue with actual processing. Because DLQ transfers count as dequeues, a healthy-looking dequeue rate is not proof of consumption. Pair dequeue rate with consumer-side processing metrics or with DLQ enqueue rate.
  • Document TTL intent per queue. For every destination with a TTL, record whether expiry is load-shedding (expected, monitor the ratio) or a bug risk (alert at zero tolerance). This one decision turns a 3 a.m. mystery into a known behavior.
  • Watch message age as the leading indicator. Age climbing toward TTL is your early warning. ExpiredCount is the lagging one.
  • Mind clock skew. JMSTimestamp and TTL evaluation depend on clocks. If producer, broker, and consumer clocks are not NTP-synced, messages can be born nearly expired, and age-based diagnosis becomes unreliable.

How Netdata helps

  • Per-destination ExpiredCount as a rate. Netdata collects ActiveMQ destination metrics continuously, so the cumulative ExpiredCount becomes a per-second rate you can threshold directly, with no manual delta math.
  • Ratio and correlation in one view. Plotting expiry rate next to enqueue rate, dequeue rate, QueueSize, ConsumerCount, and InFlightCount on the same dashboard is what exposes the “stable queue, silent loss” pattern. Each signal alone looks innocent.
  • DLQ correlation. With default processExpired, expiry shows up as DLQ growth. Seeing expired rate and DLQ depth rise in lockstep confirms the routing path without opening activemq.xml.
  • Age and backlog context. Combining expiry signals with queue depth trend and consumer count lets you distinguish “consumers gone” from “consumers slow” from “TTL too short” in minutes instead of a browse-and-guess session.
  • Anomaly detection on low-traffic queues. On queues where any expiry is abnormal, ML-based anomaly flagging on the expired counter catches the first deviation without needing a tuned static threshold per queue.