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 / proxysql / proxysql-connpool-get-conn-failure ▌

Operations Guides

ProxySQL ConnPool_get_conn_failure rising: the most direct pool-starvation signal

When ConnPool_get_conn_failure in stats_mysql_global starts climbing, ProxySQL’s internal connection pool failed to hand a backend connection to a worker thread on request. ProxySQL asked the pool for a connection to a hostgroup and got nothing back. That makes it the most actionable signal for backend pool starvation, more direct than watching ConnUsed and ConnFree in isolation.

This counter does not mean clients are seeing errors. It increments on every internal pool-lookup miss, even if ProxySQL subsequently creates a new backend connection or retries successfully. A spike of hundreds of thousands of failures in a few seconds can correspond to zero client-visible errors. What it tells you: the pool was pressured enough to miss, and sustained rising rates mean that pressure is not resolving on its own.

Pair this metric with two siblings in the same stats table: ConnPool_get_conn_success (the pool handed back a connection) and ConnPool_get_conn_immediate (the pool had a connection ready in the thread’s local cache with no wait). The ratio between immediate gets, successful gets, and failed gets tells you whether the pool is warm and healthy, working but contended, or genuinely starved.

What this means

Each ProxySQL worker thread maintains a local cache of backend connections. When a query arrives, the thread first checks its local cache (immediate get). If that misses, it asks the shared backend connection pool for a connection to the target hostgroup. If the pool has a free connection or can create one within the configured limits, the request succeeds. If it cannot, ConnPool_get_conn_failure increments.

The counter is cumulative since ProxySQL start. You must compute a rate (delta over time) to get actionable signal. A high absolute number is meaningless on a long-running instance; a rising rate is what matters.

The pool can fail to provide a connection for several distinct reasons, and the diagnostic path forks accordingly:

flowchart TD
    A["ConnPool_get_conn_failure
rate rising"] --> B{"Any backends
SHUNNED or OFFLINE?"} B -- "Yes" --> C["Capacity removed
from hostgroup"] B -- "No" --> D{"ConnUsed near
max_connections?"} D -- "Yes" --> E["Pool at capacity
ceiling"] D -- "No" --> F{"hostgroup_locked ratio
above 50%?"} F -- "Yes" --> G["Multiplexing collapse
pinning backend connections"] F -- "No" --> H{"Recent restart or
LB health check noise?"} H -- "Yes" --> I["Cold pool or
spurious failures"] H -- "No" --> J["Check Server_Connections_delayed
and backend ConnERR"]

Common causes

CauseWhat it looks likeFirst thing to check
Backend SHUNNED or OFFLINEFailures spike, then drop when backend recovers; ConnFree was 0 during the window even though connections exist after recoverystatus column in stats_mysql_connection_pool
Pool at capacity ceilingConnUsed equals or approaches max_connections per backend; failures sustained under loadCompare ConnUsed to max_connections in runtime_mysql_servers
Multiplexing collapseClient_Connections_hostgroup_locked high relative to connected; ConnUsed tracks client count linearlyhostgroup_locked / connected ratio
Cold pool after restartFailures spike briefly post-restart, then settle as pool warms; ProxySQL_Uptime lowProxySQL_Uptime in stats_mysql_global
LB health check noiseFailures increase steadily with no query impact; Questions rate stableCheck external health check configuration hitting port 6033
Backend failover transitionFailures spike during writer switchover; no ONLINE backend in target hostgroup brieflyruntime_mysql_servers status during failover window

Quick checks

Run these against the admin interface (default port 6032). All are read-only.

-- Check the three pool-get counters and compute context
SELECT Variable_Name, Variable_Value
FROM stats_mysql_global
WHERE Variable_Name IN (
  'ConnPool_get_conn_failure',
  'ConnPool_get_conn_success',
  'ConnPool_get_conn_immediate',
  'ProxySQL_Uptime'
);
-- Per-backend pool state: what is available, what is used, what errored
SELECT hostgroup, srv_host, srv_port, status,
       ConnUsed, ConnFree, ConnOK, ConnERR
FROM stats_mysql_connection_pool
ORDER BY hostgroup, srv_host;
-- Compare ConnUsed to ProxySQL's per-backend max_connections ceiling
SELECT cp.hostgroup, cp.srv_host, cp.srv_port, cp.status,
       cp.ConnUsed, cp.ConnFree, rs.max_connections
FROM stats_mysql_connection_pool cp
JOIN runtime_mysql_servers rs
  ON cp.hostgroup = rs.hostgroup_id
 AND cp.srv_host = rs.hostname
 AND cp.srv_port = rs.port;
-- Multiplexing health: are too many sessions pinning backend connections?
SELECT Variable_Name, Variable_Value
FROM stats_mysql_global
WHERE Variable_Name IN (
  'Client_Connections_connected',
  'Client_Connections_hostgroup_locked',
  'Active_Transactions',
  'Server_Connections_delayed'
);
-- Backend status across all hostgroups
SELECT hostgroup_id, hostname, port, status, max_connections
FROM runtime_mysql_servers
ORDER BY hostgroup_id, status;
-- Server-side delayed connections: direct evidence queries waited for a backend
SELECT Variable_Name, Variable_Value
FROM stats_mysql_global
WHERE Variable_Name = 'Server_Connections_delayed';

How to diagnose it

  1. Confirm the rate is real. Take two readings of ConnPool_get_conn_failure spaced 60 seconds apart and compute the delta. If the delta is zero or negligible, the counter is not actively rising and you may be looking at stale historical accumulation.

  2. Check the success-to-failure ratio. Compare ConnPool_get_conn_failure to ConnPool_get_conn_success over the same interval. If failures are a tiny fraction of successes (less than 1%), the pool is handling the vast majority of requests and the misses may be noise. If failures approach or exceed 10% of successes, the pool is genuinely pressured.

  3. Check ConnPool_get_conn_immediate. This counter tracks connections served from the thread’s local cache without touching the shared pool. A high immediate count relative to total gets means the pool architecture is working well. A dropping immediate count with rising failures means threads are increasingly losing their local cache and hitting the shared pool, which is contended.

  4. Identify which hostgroup is affected. ConnPool_get_conn_failure is global, not per-hostgroup. Cross-reference with per-backend ConnUsed, ConnFree, and status in stats_mysql_connection_pool to find the hostgroup where capacity is missing.

  5. Check for SHUNNED backends. A backend can be SHUNNED for brief windows controlled by mysql-shun_recovery_time_sec, whose default is 10 seconds. During that window, ConnFree drops to 0 for that backend and failures spike. By the time you query, the backend may already be ONLINE again with free connections visible. Check the monitor logs (monitor.mysql_server_ping_log, monitor.mysql_server_connect_log) for alternating success/failure patterns around the time of the failure spike.

  6. Check for cold pool. If ProxySQL_Uptime is low (under 120 seconds), the pool is still warming. Backend connections are created on-demand after restart. Failures during this window are expected and self-resolving.

  7. Check for multiplexing collapse. If Client_Connections_hostgroup_locked is more than 50% of Client_Connections_connected, sessions are pinning backend connections. The pool is starved not because backends are slow but because too many clients have disabled multiplexing via transactions, SET variables, temporary tables, or prepared statements.

  8. Rule out LB health check noise. External load balancer health checks (AWS NLB, HAProxy, etc.) hitting port 6033 can cause ConnPool_get_conn_failure to increment because those connections open and close without a valid backend session context. If Questions rate is stable and clients report no errors, check whether health check traffic is inflating the counter.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
ConnPool_get_conn_failure rateDirect evidence the pool could not satisfy a requestSustained non-zero rate
ConnPool_get_conn_success rateContext for the failure rateFailures exceeding 10% of successes
ConnPool_get_conn_immediate rateLocal cache hit rate; measures pool warmthDropping while failures rise
Server_Connections_delayedQueries that had to wait for a free backend connectionAny sustained non-zero value
ConnUsed vs max_connections per backendWhether the pool is at its configured ceilingRatio above 80% sustained
Backend statusWhether capacity was removed by SHUNNED or OFFLINESHUNNED flapping or sustained
Client_Connections_hostgroup_locked ratioMultiplexing healthAbove 50% of connected clients
ConnERR per backendBackend rejecting ProxySQL’s connection attemptsSustained non-zero rate

Fixes

Backend at capacity ceiling

If ConnUsed is at or near max_connections for backends in the affected hostgroup, the pool has no room to grow within the current limit.

Check whether the backend MySQL can handle more connections. If it can, raise the per-backend limit:

Warning: LOAD MYSQL SERVERS TO RUNTIME is immediately effective on live traffic. SAVE MYSQL SERVERS TO DISK persists the change across restarts. Verify the backend MySQL can absorb the increased connection count before applying.

UPDATE mysql_servers SET max_connections = <new_value>
  WHERE hostgroup_id = <hg> AND hostname = '<host>' AND port = <port>;
LOAD MYSQL SERVERS TO RUNTIME;
SAVE MYSQL SERVERS TO DISK;

The sum of max_connections across all ProxySQL instances pointing at a single backend should stay below 80% of the backend MySQL’s max_connections setting. Other consumers (direct admin connections, replication threads, other proxies, monitoring tools) need headroom too.

Backends SHUNNED

If failures correlate with SHUNNED transitions, the fix depends on why backends are being shunned:

  • Replication lag: Check max_replication_lag in runtime_mysql_servers. If replicas are being shunned for brief lag spikes that self-correct, consider whether the threshold is too aggressive for the workload.
  • Connection errors: Check ConnERR on the affected backend. If the backend is rejecting connections due to its own max_connections, fix that on the MySQL side.
  • Monitor flapping: If the backend alternates between ONLINE and SHUNNED rapidly, check monitor intervals (mysql-monitor_ping_interval, mysql-monitor_connect_interval) and shun_on_failures (default 5). Too-sensitive thresholds on a network with jitter cause oscillation.

See ProxySQL backend flapping between ONLINE and SHUNNED: monitor-induced oscillation for detailed flapping diagnosis.

Multiplexing collapse

If hostgroup_locked is high, the pool is starved because backend connections are pinned to client sessions instead of being shared. Identify which sessions have disabled multiplexing:

-- Check for sessions with disabled multiplexing
SELECT * FROM stats_mysql_processlist WHERE extended_info != '';

Common causes: ORMs setting session variables (SET NAMES, SET sql_mode, SET time_zone) on every connection, long-running transactions, temporary tables, GET_LOCK(), user-defined variables, or prepared statements.

Fix options:

  • Move session variable initialization to MySQL server-side defaults or ProxySQL’s mysql-init_connect so it does not disable multiplexing per session.
  • Review mysql-multiplexing and related variables (mysql-forward_autocommit, mysql-autocommit_false_not_reusable).
  • If a specific application is responsible, coordinate with the application team.

See How ProxySQL actually works in production: a mental model for operators for the multiplexing model.

Cold pool after restart

If failures spike immediately after restart and settle within 30 to 120 seconds, this is expected warmup behavior. The pool starts empty and fills on-demand as queries arrive.

If the spike causes client timeouts (aggressive application timeouts), consider connection warming. ProxySQL 2.x and later expose mysql-connection_warming (default false); setting it to true pre-creates backend connections at startup. Alternatively, configure mysql-free_connections_pct to maintain a warm pool of free connections.

LB health check inflation

If ConnPool_get_conn_failure is rising but Questions rate is stable and clients report no errors, external health checks may be inflating the counter. Load balancer probes that connect to port 6033 and immediately disconnect can cause pool-lookup misses because they open without a valid backend session context.

Fix: configure the load balancer health check to use a proper MySQL protocol check that executes a query through the proxy, or accept the inflation and alert on the ratio of failures to successes rather than the absolute failure rate.

Prevention

  • Alert on the failure rate, not the absolute counter. ConnPool_get_conn_failure is cumulative since start. Set up delta-based rate alerts, not threshold-on-raw-value alerts.
  • Alert on the failure-to-success ratio. A 1% failure rate during peak may be normal for your workload. A sudden jump from 0.1% to 5% is the signal, regardless of absolute numbers.
  • Track ConnPool_get_conn_immediate as a leading indicator. When the local cache hit rate drops, shared-pool contention follows. A declining immediate ratio is an early warning before failures appear.
  • Monitor multiplexing health routinely. Multiplexing collapse is the most common cause of gradual pool starvation. Track hostgroup_locked / connected as a standing dashboard metric, not just during incidents.
  • Correlate with Server_Connections_delayed. When this counter is non-zero, queries are already waiting. It is the symptom that precedes client-visible latency.
  • Keep per-backend max_connections below 80% utilization at peak. Headroom absorbs traffic spikes without triggering pool misses.

How Netdata helps

  • Collects ConnPool_get_conn_failure, ConnPool_get_conn_success, and ConnPool_get_conn_immediate per second, so rate changes are visible immediately rather than on a slow polling interval.
  • Surfaces Server_Connections_delayed alongside the pool-get counters, so you can correlate pool misses with query queuing in a single view.
  • Tracks per-backend ConnUsed, ConnFree, ConnOK, and ConnERR so you can pinpoint which backend in which hostgroup is driving the failures.
  • Monitors backend status transitions (ONLINE to SHUNNED and back) with per-second resolution, making brief shun windows visible that polling-based monitoring would miss.
  • Correlates pool-starvation signals with Client_Connections_hostgroup_locked and Active_Transactions so multiplexing collapse is identifiable without manual cross-referencing.
  • ML-based anomaly detection on the failure rate baseline helps distinguish a genuine shift from normal daily variation.