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 / tomcat / tomcat-virtual-threads-monitoring ▌

Operations Guides

Tomcat virtual threads (JDK 21+): why currentThreadsBusy reports -1

You upgraded to JDK 21, enabled virtual threads, and the one Tomcat gauge every dashboard and every alert leans on (currentThreadsBusy) now reads -1. maxThreads still shows 200 but is meaningless. The thread pool utilization panel that used to be your primary saturation signal is blank or broken, and your SLO alerts are either firing constantly or silently dead.

This is expected, by-design behavior, not a bug. When a connector runs on virtual threads (useVirtualThreads="true", or StandardVirtualThreadExecutor, on Tomcat 9.0.76+, 10.1.10+, or 11.0.0-M7+ with JDK 21+), Tomcat’s classic bounded-thread-pool model stops applying. There is no fixed pool to measure. currentThreadsBusy returns -1, maxThreads is inherited from defaults and not honored, and the connection layer becomes your only proxy for active request load.

This article explains exactly why the gauge goes to -1, how to confirm virtual threads are actually in use (and not silently disabled by a protocol mismatch), and which signals replace the classic pool gauge so your monitoring keeps working after the switch.

Tomcat 9.0.76+ supports both the useVirtualThreads connector attribute and org.apache.catalina.core.StandardVirtualThreadExecutor (both require Java 21); 10.1.10+ and 11.0.0-M7+ support them as well.

What this means

A -1 from currentThreadsBusy is a sentinel meaning “this connector does not have a measurable bounded thread pool.” It is not an error state. It shows up in JMX, in the Manager Status XML, and in any collector (Netdata, Micrometer, Jolokia) that reads the Catalina:type=ThreadPool,name="http-nio-8080" MBean.

What it does NOT mean:

  • Tomcat is broken.
  • Requests are failing.
  • The thread pool is exhausted.
  • A collector bug produced the value.

What it DOES mean is that every alert, SLO, and capacity-planning assumption built on currentThreadsBusy / maxThreads is now invalid for that connector. Those need to be rebuilt around connection-based signals before you lose your primary saturation visibility.

flowchart LR
  A[Request arrives] --> B{Thread model}
  B -->|Classic pool| C[Acquire platform thread]
  C --> D[Fixed maxThreads]
  D --> E[currentThreadsBusy measurable]
  E --> F[Alert on busy / max ratio]
  B -->|Virtual threads| G[Spawn virtual thread per request]
  G --> H[currentThreadsBusy = -1]
  H --> I[Alert on connectionCount / maxConnections]

Why currentThreadsBusy reports -1

The mechanism lives in AbstractEndpoint.getCurrentThreadsBusy(). The method uses a pattern-matching switch that checks whether the endpoint’s executor implements one of three interfaces: Tomcat’s own ThreadPoolExecutor, java.util.concurrent.ThreadPoolExecutor, or ResizableExecutor. If the executor matches one of those, it can report active vs. max threads. If it matches none of them, the default branch returns -1.

The virtual-thread executors (VirtualThreadExecutor, used internally, and StandardVirtualThreadExecutor, configurable via <Executor>) do not implement any of those interfaces. They also do not track in-flight tasks: VirtualThreadExecutor explicitly does not maintain a count of running tasks, and shutdownNow() returns an empty list because there is nothing to enumerate. So even if the switch tried to ask the executor for a busy count, the executor has no answer to give.

Two consequences follow:

  1. There is no per-connector “active virtual thread” number to expose. The executor spawns a new virtual thread per request and they terminate on completion; there is no fixed set to measure utilization against.
  2. The JVM itself cannot give Tomcat a clean answer. java.lang.management.ThreadMXBean aggregates virtual threads across the entire JVM. Tomcat cannot isolate its own virtual threads because the JVM does not expose a mechanism to partition virtual threads into pools or groups.

This is why the canonical guidance is definitive: there are no plans to add a virtual-thread count metric, and the recommended proxy is connectionCount - keepAliveCount from the connector.

CauseWhat it looks likeFirst thing to check
Virtual threads actually enabledcurrentThreadsBusy == -1 on one connector, normal values on othersuseVirtualThreads flag or <Executor> class in server.xml
NIO2 protocol in usecurrentThreadsBusy == -1 AND keepAliveCount == -1Connector protocol attribute (Http11Nio2Protocol)
Virtual threads requested but not dispatchedcurrentThreadsBusy is a normal number despite useVirtualThreads="true"Whether you are on Nio2Endpoint with an unfixed version (fixed in 10.1.18 / 9.0.85 / 11.0.0-M16)
Spring Boot threads.max ignoredYou set server.tomcat.threads.max, it has no effect, pool is unboundedWhether spring.threads.virtual.enabled=true is set
Pre-virtual-threads confusion-1 on an older Tomcat or JDKJDK version (needs 21+) and Tomcat version

Quick checks

# Confirm JDK version supports virtual threads
java -version

# Confirm Tomcat version
$CATALINA_HOME/bin/version.sh

# Confirm the JVM process is the Tomcat one
pgrep -f 'org.apache.catalina.startup.Bootstrap'
# Check executor and connector config (read-only)
grep -E 'Executor|Connector' $CATALINA_BASE/conf/server.xml
# Read currentThreadsBusy and maxThreads from JMX
java -jar jmxterm.jar -l localhost:9090 -n -v silent -e \
  "get -b Catalina:type=ThreadPool,name=\"http-nio-8080\" currentThreadsBusy currentThreadCount maxThreads"
# Confirm the connector's useVirtualThreads flag (added in later 10.1.x)
java -jar jmxterm.jar -l localhost:9090 -n -v silent -e \
  "get -b Catalina:type=ProtocolHandler,name=\"http-nio-8080\" useVirtualThreads"

The JMX exposure of useVirtualThreads (and the corrected keepAliveCount value) shipped in Tomcat 10.1.43, 9.0.107, and 11.0.9; on older versions verify from server.xml instead.

How to diagnose it

  1. Confirm -1 is the sentinel, not a transient error. Read currentThreadsBusy twice over a few seconds. A stable -1 means the connector has no measurable pool. A number that flips to -1 intermittently is a different problem (collector restart, MBean reregistration).
  2. Confirm virtual threads are actually enabled. Look for either <Executor name="..." class="org.apache.catalina.core.StandardVirtualThreadExecutor"/> referenced by the connector, or useVirtualThreads="true" on the connector itself. Since Tomcat 10.1.43 (2025-07-04) the useVirtualThreads value is also exposed via JMX, which is the most reliable confirmation; on older 10.1.x builds check server.xml.
  3. Confirm requests are actually running on virtual threads. This is the trap. On NIO2 (Http11Nio2Protocol), some Tomcat 10.1.x builds did NOT dispatch request code to virtual threads even with useVirtualThreads="true" set. The connector looked configured for virtual threads but ran on platform threads. If you see normal currentThreadsBusy numbers despite enabling virtual threads, you may be hitting this. Switch to NIO (Http11NioProtocol) or upgrade: the NIO2 dispatch fix landed in Tomcat 10.1.18, 9.0.85, and 11.0.0-M16 (the VirtualThreadExecutor refactor in the official changelogs).

Verified in the official changelogs: the NIO2 connector ran platform threads even with useVirtualThreads="true" until the VirtualThreadExecutor refactor shipped in Tomcat 10.1.18, 9.0.85, and 11.0.0-M16.

  1. Check the protocol for keepAliveCount availability. If you intend to use connectionCount - keepAliveCount as your proxy, NIO2 returns keepAliveCount == -1 because it is not tracked. Only NIO exposes a usable keepAliveCount. On NIO2 you must switch to NIO to use this proxy, or fall back to a different signal.
  2. Verify you are not double-configuring. The connector documentation is explicit that useVirtualThreads only affects the internal executor: if an <Executor> is associated with the connector (via the executor attribute), useVirtualThreads is ignored and the referenced executor wins. Configure one or the other, not both.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
connectionCount - keepAliveCountBest available proxy for active requests on virtual threadsTrending toward maxConnections with throughput dropping
connectionCount / maxConnectionsReplaces the pool-utilization ratio as your saturation signalSustained above 0.80 means the poller is filling
requestCount rateConfirms requests are flowing, independent of thread modelThroughput dropping while connections accumulate
processingTime / requestCountAverage processing time; rises when requests are stuckTrending upward indicates backend slowdown
errorCount rateCounts responses with status >= 400, including 503s; a 503 spike with connectionCount near max points to connection-layer saturationSpike correlates with connectionCount near max
OS accept queue (Recv-Q from ss -ltn)Last buffer before connection refusal; invisible to JMXNon-zero sustained Recv-Q means Tomcat cannot accept fast enough
maxConnectionsThe new hard ceiling that mattersDefault 8192 for NIO/NIO2 since Tomcat 9.0.30 (was 10000 on older 8.5.x / early 9.0.x); verify your deployment’s value

Verified: the AbstractEndpoint default is 10000 through Tomcat 9.0.29 and 8192 (8*1024) since 9.0.30, which applies to NIO, NIO2, and APR alike (9.0.30 changelog: “Harmonize maxConnections default value to 8192 across all connectors”).

The exact semantics of connectionCount have varied between versions, and its JMX exposure was corrected in 10.1.43/9.0.107, so cross-check single-digit readings against ss -tnl 'sport = :8080' before trusting small thresholds.

connectionCount - keepAliveCount counts connections, not requests: with HTTP/2 one connection carries many concurrent streams, so the proxy undercounts in-flight requests. Treat it as a lower bound when HTTP/2 is enabled.

Fixes: rebuilding your monitoring around connections

Once virtual threads are confirmed in use, the classic thread-pool alerts and dashboards are dead for that connector. Replace them.

Replace pool-utilization alerts with connection-utilization alerts

Build your primary saturation alert on connectionCount / maxConnections, not on currentThreadsBusy / maxThreads. The thresholds translate loosely: sustained above 0.80 is the warning band, sustained near 1.0 means new connections will queue in the OS accept queue and then be refused. The cascade pattern is the same one described in Tomcat thread pool exhaustion, except it now happens at the connection layer instead of the thread layer.

Use connectionCount minus keepAliveCount for active load

For an estimate of how many requests are actively being processed (the closest analogue to the old “busy threads” concept), compute connectionCount - keepAliveCount. This requires NIO, not NIO2. On older 10.1.x builds, verify keepAliveCount returns a real number, not -1 and not the pre-fix wrong value for NIO that was corrected in later 10.1.x.

Drop StuckThreadDetectionValve expectations

StuckThreadDetectionValve tracks threads by name and assumes a pooled, long-lived thread identity. Virtual threads are ephemeral and not pooled, so the valve’s behavior with virtual threads is unreliable. Do not depend on it as your stuck-request detector after the switch. Prefer per-request latency from the access log (%D pattern: milliseconds in Tomcat 9.x, microseconds in Tomcat 10.x) for tail-latency and stuck-request detection.

Remove the redundant Executor element

Leave the Executor element out when using useVirtualThreads="true": the connector documentation says useVirtualThreads only applies to the internal executor and is ignored when an executor is associated with the connector. Declare one or the other so configuration reflects reality. Note that StandardVirtualThreadExecutor only honors namePrefix; it does not honor maxThreads, minSpareThreads, maxIdleTime, or maxQueueSize.

Verified against the Tomcat 11.0 source: StuckThreadDetectionValve still tracks threads by ID/name with no virtual-thread accommodation, so its detection remains unreliable with virtual threads.

Handle the Spring Boot threads.max trap

If you run embedded Tomcat via Spring Boot 3.2+, server.tomcat.threads.max is silently ignored when virtual threads are enabled. Do not rely on it for sizing. There is no fixed pool to size.

Prevention

  • Update dashboards before enabling virtual threads. Build the connection-based panels first so you do not lose saturation visibility the moment the connector switches.
  • Decide NIO vs NIO2 deliberately. If you intend to use connectionCount - keepAliveCount, you need NIO. NIO2 makes keepAliveCount unavailable.
  • Set explicit maxConnections. With threads unbounded, maxConnections becomes the real ceiling. Confirm it is set intentionally for your deployment, not left at a default.
  • Verify dispatch, not just configuration. After enabling useVirtualThreads, confirm requests actually run on virtual threads (a thread dump shows virtual threads, and currentThreadsBusy reads -1). Configuration that does not dispatch is the silent-failure mode.
  • Rebuild SLOs on latency, not pool ratio. With no pool ratio to alert on, p95/p99 request latency from the access log becomes the primary user-impact signal.

How Netdata helps

  • Per-second collection surfaces currentThreadsBusy == -1 the moment the connector restarts with virtual threads, before stale alerts fire on the old ratio.
  • Correlation of connectionCount, maxConnections, and request rate on one dashboard replaces the pool-utilization panel. Per-second resolution matters because the connection layer can fill between coarser polls.
  • JVM thread count from ThreadMXBean is the only signal that catches a runaway virtual-thread leak. The JVM aggregates virtual threads without partitioning by source, so total count is the ceiling indicator.
  • OS-level accept queue and file descriptor metrics cover the kernel layer where connection refusal actually happens, invisible to Tomcat’s MBeans.