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 · OPERATIONS PLAYBOOK

ProxySQL's quiet failures: multiplexing that collapses to 1:1, backends that shun themselves, and a config that reverts on restart

A MySQL-protocol-aware proxy that multiplexes thousands of client connections onto a handful of backend connections, routes every query through an ordered rule chain, and health-checks backends into and out of rotation. We trace how that design behaves under load, where the pooling silently disappears, and what to do when a backend, a rule, or a forgotten LOAD TO RUNTIME takes the service down.

"

ProxySQL's defaults get you a working read/write split in an afternoon, then hand you a set of silent failure modes that only surface under real load or on the next restart.

The defaults work. Until an ORM starts sending SET NAMES utf8mb4 on every connection, multiplexing quietly collapses to 1:1, and the connection pooling you deployed ProxySQL for simply stops happening. Until a replica drifts past max_replication_lag and the monitor SHUNS it, then restores it, then shuns it again on a jittery network. Until a query rule missing apply=1 routes a write to a read-only replica and returns 1290 - The MySQL server is running with the --read-only option — or worse, the replica is not read-only and the write silently diverges. Until you fix a rule in RUNTIME during an incident, forget SAVE TO DISK, and lose the fix on the next restart.

These guides are written for engineers who already run ProxySQL, not for people choosing a proxy. The goal is the mental model of how the proxy actually behaves under load, the failure patterns that keep recurring, the monitoring story that catches them before they page anyone, and the runbooks you wish someone had handed you before your last incident. ProxySQL speaks the MySQL wire protocol only — none of this applies to PostgreSQL.

How ProxySQL actually runs in production

ProxySQL is not a TCP relay. It parses the MySQL wire protocol, evaluates every query against an ordered rule chain, borrows and returns backend connections to multiplex many clients onto few, and continuously health-checks backends into and out of hostgroups — all driven by a three-layer config that is live only after LOAD TO RUNTIME and durable only after SAVE TO DISK. Most production failures live between these layers, not inside any one of them.

01
clients / frontend pool
Client connections land on port 6033 and authenticate against ProxySQL's own <code>mysql_users</code> table, independently of backend credentials. Each session carries state — user, schema, transaction status, session variables, autocommit — and <code>mysql-max_connections</code> (default 2048) is a single global cap across all users and hostgroups.
CLIENT
02
query processor + rules
Every query is matched against <code>mysql_query_rules</code> in <code>rule_id</code> order; the first match with <code>apply=1</code> wins and decides hostgroup, caching, rewriting, and timeout. A missing <code>apply=1</code> or a broad regex is a silent mis-routing bug, and complex <code>match_pattern</code> regex is a CPU tax on every single query.
ROUTE
03
query cache
An in-memory, TTL-only result cache keyed by query digest + user + schema. There is no invalidation on data change — it is a time-bounded stale-read cache, not a coherent one. Only queries matched by a rule with <code>cache_ttl > 0</code> are cached at all.
CACHE
04
multiplexing engine
The core abstraction: borrow a backend connection, run the query, return it to the pool. Session state — open transactions, <code>SET</code> variables, temp tables, <code>LOCK TABLES</code>, <code>GET_LOCK()</code>, user-defined variables — pins a backend connection to one client (<code>Client_Connections_hostgroup_locked</code>) and defeats pooling.
MUX
05
backend connection pool
Persistent connections to each backend, organised by hostgroup, reused across clients when session state permits. Each backend has its own <code>max_connections</code> in <code>mysql_servers</code> — ProxySQL's self-imposed limit, entirely separate from the backend MySQL's own <code>max_connections</code>.
POOL
06
monitor module
Background threads run connect, ping, read-only, and replication-lag checks using separate <code>mysql-monitor_*</code> credentials. Results drive automatic ONLINE/SHUNNED/OFFLINE transitions and writer/reader role assignment. If monitor workers stall or the monitor password is wrong, health decisions go stale or shun healthy backends.
MONITOR
07
hostgroups + backends
Backends live in hostgroups with a status — <code>ONLINE</code>, <code>SHUNNED</code>, <code>OFFLINE_SOFT</code>, or <code>OFFLINE_HARD</code>. Galera and Group Replication use special hostgroup tables that auto-route writes to the PRIMARY and reads to the SECONDARY based on cluster node state.
BACKEND
08
admin + three-layer config
The admin interface on port 6032 exposes runtime state as SQL tables. Changes flow MEMORY to RUNTIME (via <code>LOAD ... TO RUNTIME</code>) to DISK (via <code>SAVE ... TO DISK</code>). A change is not active until loaded and not durable until saved — the single most common source of operational surprise.
CONFIG

Why this matters: 'ProxySQL is slow' or 'connections are exhausted' can come from multiplexing collapsed to 1:1, a backend pool at its per-backend max_connections, the backend MySQL's own limit rejecting ProxySQL, worker threads saturated on regex rules, a replica shunned for lag redirecting traffic, or a config that reverted on restart. The symptom rhymes but each layer has a different signal — and a different fix.

The failures you'll actually see

Most ProxySQL incidents fall into a small set of recurring patterns. Recognise the shape, and triage gets dramatically faster.

ACTIVE

Multiplexing collapse

An application or ORM starts issuing SET commands on every connection, ProxySQL pins a backend connection per client, and the multiplexing ratio drifts toward 1:1. Backend ConnUsed now tracks client count linearly, the pool fills, and the 10:1 pooling your capacity plan assumed is fiction — all with no error until the backend runs out of connections.

  • Client_Connections_hostgroup_locked climbing toward connected
  • Multiplexing ratio (client / backend connections) approaching 1:1
  • ConnUsed rising in lockstep with client connection count
  • Latency rising uniformly across all query types after a deploy
Investigate
CRITICAL

Backend connection starvation

Every backend connection in a hostgroup is in use and ProxySQL cannot open more — either it hit its own per-backend max_connections or the backend MySQL rejected it with 1040 - Too many connections. New queries queue, then fail with Max connect timeout reached while reaching hostgroup. A cliff-edge once the pool is full.

  • ConnFree == 0 with ConnUsed > 0 sustained on all backends
  • ConnPool_get_conn_failure and Server_Connections_delayed rising
  • ConnERR climbing as the backend refuses new connections
  • Clients seeing error 9001 Max connect timeout reached
Investigate
ACTIVE

Backends shunning themselves

The monitor module marks a backend SHUNNED after consecutive connection errors or replication lag over threshold. It is a protection mechanism and usually self-corrects — but aggressive check intervals or a wrong monitor password make healthy backends flap ONLINE and SHUNNED, oscillating traffic and disrupting queries mid-flight.

  • status = SHUNNED in stats_mysql_connection_pool
  • More than 3 ONLINE/SHUNNED transitions in 10 minutes
  • MySQL_Monitor check ERR rising while the backend is healthy directly
  • Periodic latency spikes and Questions-rate dips
Investigate
IMMINENT

Silent read/write-split failure

A query rule missing apply=1, or a wrong rule_id order, routes writes to the reader hostgroup. If the replica is read-only you get 1290 - ... running with the --read-only option; if it is not, the write succeeds on a replica and never reaches the primary — silent data divergence with no error at all.

  • Error 1290 in stats_mysql_errors from a reader hostgroup
  • INSERT / UPDATE / DELETE digests appearing in the reader hostgroup
  • Write-routing rule hits dropping, catch-all rule hits rising
  • Application reporting intermittent read-only errors
Investigate
IMMINENT

The three-layer config revert

A change made in the admin interface lands in MEMORY, gets loaded to RUNTIME during an incident, and is never saved to DISK — so the next restart (upgrade, OOM, reboot) silently reverts to stale config. Or a change is saved but never loaded, and everyone wonders why it isn't working. No metric flags it until the restart.

  • runtime_mysql_servers matches memory but differs from disk
  • Behaviour not matching the config someone believes is active
  • Config reverting after a ProxySQL restart or upgrade
  • Per-module LOAD/SAVE done for some modules but not others
Investigate
CRITICAL

Authentication cascade

A credential rotation reaches the application or the backend but not ProxySQL's mysql_users (or its separate mysql-monitor_password). Frontend logins fail with 1045 - Access denied and the Questions rate collapses, or the monitor cannot authenticate and shuns healthy backends. When all auth fails, the service is down for new connections.

  • Access_Denied_Wrong_Password rising with Questions rate dropping
  • Error 1045 Access denied for user in client errors
  • Client_Connections_aborted spiking
  • Monitor check ERR rising after a password change (monitor creds stale)
Investigate
Choosing a tool

Best ProxySQL Monitoring Tools: 6 Ranked for 2026

A ranked review of the tools teams actually shortlist here, what each one is genuinely good at, and how the pricing behaves as you scale.

ProxySQL monitoring maturity levels

ProxySQL observability works in four practical levels. Each is a complete operation, not a stepping stone. Pick the level that matches how much your proxy tier matters. Most production deployments should land at the second level.

Level 1: Survival

Know that something is wrong

Survival monitoring is the floor. With these signals you can answer one question: is the proxy accepting clients and can it reach at least one backend? You will not learn what broke, but you will learn that something broke before users do. Survival is enough for dev proxies and non-critical tiers.

  • ProxySQL process running Host-level: is the proxysql process alive at all?
  • Data-plane port 6033 accepting An external TCP/MySQL check — the proxy can be running while the listener hangs.
  • At least 1 ONLINE backend per hostgroup Zero ONLINE in a hostgroup is a total outage for that traffic class.
  • Backend ConnERR per backend ProxySQL tried to reach a backend and failed.
  • Client_Connections_aborted Clients being rejected or crashing on connect.
  • ProxySQL process RSS Memory footprint and OOM risk.

Level 2: Operational

Diagnose most incidents on your own

Operational monitoring is what most production deployments should target. Survival tells you something is wrong; operational tells you what. With this coverage your team can usually diagnose an incident on its own: pool pressure, backend flapping, auth failures, slow queries, routing.

  • Client_Connections_connected vs max Frontend saturation; a cliff at mysql-max_connections.
  • ConnUsed / ConnFree per backend Backend pool pressure per server.
  • Questions rate Throughput baseline; a sudden drop means traffic stopped or is failing.
  • Slow_queries rate The ratio to Questions matters more than the absolute count.
  • Monitor check OK/ERR per type Connect, ping, read-only, and replication-lag probe health.
  • Per-user connection utilisation One app hitting its cap can starve the rest of the instance.
  • Access_Denied_* counters Wrong password, max connections, and max user connections.
  • ProxySQL process CPU Worker-thread saturation slows every query uniformly.

Level 3: Mature

Catch problems before they become incidents

Mature monitoring catches problems before they wake anyone up. Multiplexing eroding, the cache churning, a backend drifting slower than its peers, connection acquisition starting to fail. None of these page you on day one. They become page-out incidents on day thirty.

  • Multiplexing ratio and hostgroup_locked Is the pooling you deployed ProxySQL for actually happening?
  • Query cache hit rate, memory, purge Effective offload versus pure churn.
  • Per-command latency histograms The real query-latency distribution, not the monitor ping.
  • Per-backend Latency_us divergence One backend far slower than peers in the same hostgroup.
  • Active_Transactions Open transactions pin backend connections and break multiplexing.
  • ConnPool_get_conn_failure rate The most direct pool-starvation signal there is.
  • backend_lagging / offline_during_query Queries that failed in flight, not theoretical risk.
  • Detailed memory breakdown stats_memory_metrics: jemalloc_resident and fragmentation.

Level 4: Expert

Reactive instrumentation after real incidents

Expert signals enter your stack the day after a specific incident proved you needed them. Per-rule hit distribution, query digests, cluster checksums, monitor freshness, config-layer drift. Most teams never need every signal here. Add the ones your incident history says you do.

  • Per-query-rule hits stats_mysql_query_rules: which rules fire, and whether the write rule fires at all.
  • Query digest top-N stats_mysql_query_digest: workload profile and new/anomalous queries.
  • ProxySQL cluster checksums Config divergence between peers (split-brain routing).
  • Monitor freshness Gap between intended and actual check interval (thread starvation).
  • Config layer drift Memory vs runtime vs disk — the change that reverts on the next restart.
  • Per-thread CPU (ps -L) Hot-thread detection under load.
  • File-descriptor usage vs ulimit A host-level cliff ProxySQL does not expose in stats.
  • stats_mysql_processlist snapshots Per-session state: how many are idle, executing, or locked.

Operating mistakes worth avoiding

The traps ProxySQL teams keep falling into. Each has a clear, well-known fix. Most teams only learn it after an incident.

Monitoring the frontend but ignoring the backend

Teams check 'can I connect to ProxySQL?' and forget 'can ProxySQL reach the backends?'. Backend <code>ConnERR</code> and monitor check results are the signals that actually predict an outage, and they are the ones most often missing from dashboards.

Treating SHUNNED as always critical

<code>SHUNNED</code> is ProxySQL's protection mechanism, and it usually self-corrects within <code>mysql-shun_recovery_time_sec</code>. Paging on every shun event is pure alert fatigue. Only page when zero backends remain ONLINE in a hostgroup; a single shunned backend is a ticket.

Never measuring multiplexing efficiency

The whole point of ProxySQL is multiplexing, yet almost no one tracks the ratio. An ORM setting session variables silently drops it to 1:1, so the proxy adds latency while providing no pooling — and the capacity model that assumed 10:1 is fiction. Watch <code>Client_Connections_hostgroup_locked / connected</code>.

Trusting Latency_us as query latency

<code>Latency_us</code> in <code>stats_mysql_connection_pool</code> is the monitor's ping latency, not query execution time. Dashboards built on it do not represent user-facing performance. Real query latency lives in the <code>stats_mysql_commands_counters</code> histograms and <code>stats_mysql_query_digest</code>.

Ignoring the three-layer config model

Changes live in MEMORY, activate only on <code>LOAD ... TO RUNTIME</code>, and persist only on <code>SAVE ... TO DISK</code> — per module. Fix a rule during an incident, forget the save, and a restart days later reverts it. Nobody monitors config-layer divergence until it bites.

Confusing ProxySQL's max_connections with MySQL's

The per-backend <code>max_connections</code> in <code>mysql_servers</code> is ProxySQL's self-imposed limit; the backend MySQL has its own. Set them equal and you forget that other ProxySQL instances, admin sessions, replication, and monitoring also consume backend slots — so MySQL hits <code>1040</code> while ProxySQL still thinks it has headroom.

Using absolute thresholds instead of ratios

'ConnUsed > 100' or 'latency > 100ms' fails across environments and workloads — dev instances, batch windows, and peak traffic all differ. Alert on ratios (utilisation percentages, pool fraction) and baseline deviation, not fixed numbers, or you drown in false positives and miss the real shift.

Not monitoring per-user connection counts

<code>mysql_users</code> supports per-user <code>max_connections</code>, but teams set only the global limit. One misbehaving application then consumes every connection and starves every other app sharing the instance. Set per-user caps and watch utilisation against them in <code>stats_mysql_users</code>.

ProxySQL runbooks in this section

Each guide is a focused runbook for one symptom or topic. Pick one when you have an incident, or use the categories to learn the area.

WHERE TO GO NEXT

Setting up ProxySQL monitoring, or putting out a fire?

If you're starting from scratch, the monitoring checklist is the path of least regret. If you're mid-incident, jump straight to the symptom that matches what you're seeing.