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 / pgbouncer / pgbouncer-query-rate-drop ▌

Operations Guides

PgBouncer query rate drop: throughput falling without a traffic change

Your PgBouncer dashboard shows queries per second falling off a cliff, but the application team insists nothing changed: no deploy, no traffic shift, no feature flag. The avg_query_count from SHOW STATS (or the delta of total_query_count) is down 40, 60, maybe 90 percent from baseline, and it is not coming back.

A query rate drop with stable inbound traffic is almost never a PgBouncer bug. It is a symptom of something downstream or upstream: queries are taking longer so fewer complete per second, clients are queued instead of executing, the backend is unreachable, or the application itself has stopped sending work. The query rate is the smoke; your job is to find which fire is producing it.

One trap before anything else: PgBouncer’s total_query_count and total_xact_count are cumulative counters that reset to zero on every restart. If your monitoring computes rates from raw totals without handling resets, a routine restart looks exactly like a traffic collapse. Rule that out first, because it is the cheapest check and the most embarrassing root cause.

What this means

PgBouncer counts every SQL statement it forwards in total_query_count (and completed transactions in total_xact_count), and exposes a rolling per-second average as avg_query_count over the stats period. These are throughput baselines, not error signals. PgBouncer has zero error counters in any SHOW command, so a rate drop is one of the few ways the pooler can tell you something is wrong.

The mechanics of a drop reduce to simple arithmetic. Throughput equals concurrent server connections divided by how long each is held. If avg_query_time or avg_xact_time doubles, the same pool completes half as many queries per second. If all server connections are busy and clients are stuck in the wait queue, executing throughput stays flat while demand grows, and per-client throughput collapses. If the application deadlocked or hung, nothing is being sent at all.

There is also the inverse case worth a mention: a sudden query rate spike with no traffic change usually means a retry storm (application timing out and resubmitting) or a cache-invalidation stampede. The diagnostic path below assumes a drop, but several of the same checks apply.

flowchart TD
  A[Query rate dropped] --> B{Counter reset?
uptime / process restart} B -->|yes| C[Restart artifact, not an incident] B -->|no| D{cl_waiting > 0?} D -->|yes| E{avg_query_time elevated?} E -->|yes| F[Backend slowdown
check PostgreSQL] E -->|no| G[Pool exhausted by long transactions
check idle-in-transaction] D -->|no| H{sv_login high or sv_idle draining?} H -->|yes| I[Backend connection failure
check PostgreSQL, DNS, network] H -->|no| J[Application stopped sending
check clients and app health]

Common causes

CauseWhat it looks likeFirst thing to check
Counter reset after restartRate drops to near zero, then rebuilds; uptime is shortProcess uptime and SHOW STATS totals
Backend slowdownavg_query_time and avg_xact_time up, sv_active at pool_sizeSHOW STATS_AVERAGES query_time vs baseline
Pool exhaustion / queuingcl_waiting > 0, maxwait growing, avg_wait_time upSHOW POOLS per (database, user)
Idle-in-transaction starvationavg_xact_time far greater than avg_query_time, sv_active pinnedpg_stat_activity for idle in transaction
Backend connection failuresv_login elevated, total server connections declining, cl_waiting risingSHOW POOLS, SHOW DNS_HOSTS, logs
Administrative PAUSEcl_waiting spikes, sv_active drains to zero, one database affectedSHOW DATABASES paused/disabled columns
Application stalledAll PgBouncer metrics healthy, clients connected but idleSHOW CLIENTS states and connect_time
Event loop saturationAdmin console slow, all pools degraded, one CPU core at 100%time psql ... "SHOW LISTS;" and process CPU

Quick checks

All commands are read-only. They run against the admin console; adjust host, port, and socket path to your deployment.

# 1. Current per-second rates and averages per database
psql -h /var/run/postgresql -p 6432 -U pgbouncer pgbouncer -Atc "SHOW STATS_AVERAGES;"

# 2. Cumulative totals (watch for resets across samples)
psql -h /var/run/postgresql -p 6432 -U pgbouncer pgbouncer -Atc "SHOW STATS;"

# 3. Pool state: cl_waiting, sv_active, sv_idle, sv_login, maxwait
psql -h /var/run/postgresql -p 6432 -U pgbouncer pgbouncer -Atc "SHOW POOLS;"

# 4. Paused/disabled state and per-database connection limits
psql -h /var/run/postgresql -p 6432 -U pgbouncer pgbouncer -Atc "SHOW DATABASES;"

# 5. Process uptime: was there a restart?
ps -o pid,etime,cmd -p $(pgrep -f pgbouncer)

# 6. Admin console responsiveness (event loop health)
time psql -h /var/run/postgresql -p 6432 -U pgbouncer pgbouncer -c "SHOW LISTS;" > /dev/null

# 7. Timeout and connection errors (log-only; no SHOW counters exist)
grep -E "query_wait_timeout|connect failed|login failed|no more connections" /var/log/pgbouncer/pgbouncer.log | tail -30

# 8. DNS cache state for hostname-based backends
psql -h /var/run/postgresql -p 6432 -U pgbouncer pgbouncer -Atc "SHOW DNS_HOSTS;"

Notes on interpretation:

  • SHOW STATS_AVERAGES smooths over the stats period, so a very recent drop may look muted. Take two SHOW STATS samples 30 seconds apart and compute the delta of total_query_count for a sharper reading.
  • Column positions in SHOW STATS are version-dependent (1.23 added server_assignment_count). Reference columns by name or use SHOW STATS_AVERAGES.
  • The server_check_query (default: <empty>, an empty query) is counted in the stats. With many pools this slightly inflates the floor of your query rate, so “zero” may read as a small nonzero number.

How to diagnose it

  1. Rule out the counter reset. Check process uptime (check 5). If PgBouncer restarted at the moment the “drop” began, your monitoring misread a reset as a traffic loss. Fix the rate computation to handle resets and move on.

  2. Rule out maintenance. Check SHOW DATABASES for paused = 1 or disabled = 1. During PAUSE, new queries queue and cl_waiting spikes while sv_active drains. This is expected behavior during operations like a PostgreSQL upgrade. Every other check below assumes the database is not paused.

  3. Split wait time from query time. From SHOW STATS_AVERAGES, compare avg_wait_time against avg_query_time for the affected database. High wait time with normal query time means the pool itself is the bottleneck (go to step 4). High query time means PostgreSQL is slow and connections are held longer (go to step 5). Both near zero with a low query rate means nothing is arriving (go to step 6).

  4. Confirm pool exhaustion. In SHOW POOLS, find the pool with cl_waiting > 0. Check whether sv_active equals pool_size and sv_idle is zero. Look at maxwait: if it is approaching query_wait_timeout (default 120s), clients are about to be disconnected and will likely retry, amplifying the problem. Then compare avg_xact_time to avg_query_time. A large gap means transactions are held open while the application does other work; confirm on PostgreSQL with pg_stat_activity filtered to state = 'idle in transaction'. Note that in transaction pooling mode, total_query_count counts individual statements, so a shift toward multi-statement transactions changes the ratio of queries to transactions without any real throughput change; check avg_xact_count alongside.

  5. Chase the backend slowdown. If avg_query_time is elevated, the root cause is on PostgreSQL: lock contention, a missing index under a new query pattern, I/O saturation, vacuum pressure. PgBouncer cannot see per-query detail; use pg_stat_activity and pg_stat_statements on the backend. Also check sv_login in SHOW POOLS: if it is persistently high while total server connections decline, new backend connections are failing (PostgreSQL at max_connections, auth failure, network partition, stale DNS after failover). Correlate with SHOW DNS_HOSTS and the connect/login failure lines in the log.

  6. Check the front door. If PgBouncer internals are all green, verify clients are actually connected and sending. SHOW CLIENTS shows per-client state; large numbers of idle clients with old connect_time and no recent request_time means the application is hung or deadlocked, not the pooler. Check application-side health, thread pools, and deploys. Also check used_clients from SHOW LISTS against max_client_conn: if new connections are being refused (log line “no more connections allowed”), some app instances may be down while others hold all the slots.

  7. Check the pooler itself. If the admin console from check 6 in the quick checks was slow, the single-threaded event loop is saturated: everything degrades at once, across all pools. Look at the process CPU; one core pegged at 100% under high connection churn or TLS load is the classic shape. The fix is architectural (multiple processes with so_reuseport, or TLS offload), not a config tweak.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
avg_query_count / delta of total_query_countThroughput baseline; the signal that firedSustained drop >50% with no traffic change
avg_xact_count / delta of total_xact_countWork completion rate; separates statement-count shifts from real dropsFalling together with query rate
avg_wait_timeLatency the pool itself injectsSustained above a few ms from a zero baseline
avg_query_timeBackend execution time as PgBouncer sees it>2x rolling baseline
avg_xact_time vs avg_query_timeGap reveals idle-in-transaction holding pool slotsRatio climbing (10x or more)
cl_waiting per poolClients blocked waiting for a server connectionAny sustained nonzero value
maxwaitAge of the oldest waiter; proximity to query_wait_timeout>5s, or approaching the timeout
sv_active / pool_sizeLeading indicator of saturation before queuing startsSustained above 85%
sv_loginBackend connection establishment healthPersistently >0 with declining total server connections
paused/disabled in SHOW DATABASESMaintenance context that mimics an outageMust be checked before escalating anything
Process uptimeExplains counter resetsRestart coinciding with the “drop”

Fixes

Counter reset artifacts

Fix the monitoring, not PgBouncer. Use the avg_* columns or compute deltas of total_* between samples, and treat a decrease in a cumulative counter as a reset, not negative traffic. Tag the series with process start time so restarts are visible on dashboards.

Backend slowdown

This is a PostgreSQL incident that happens to be visible at the pooler. Identify the slow queries on the backend (pg_stat_activity, pg_stat_statements), cancel or terminate the worst offenders in coordination with the application team, and fix the underlying cause (index, lock, vacuum). Raising pool_size during a backend slowdown usually makes things worse: more concurrent queries on an already struggling database.

Pool exhaustion from long or idle transactions

Short term: identify the pool in SHOW POOLS, find the holding connections via SHOW SERVERS (old request_time in active state, link back to the client), and cancel the offenders on PostgreSQL. Medium term: fix the application pattern that holds transactions open across non-database work; on 1.25.0+ the transaction_timeout setting can bound this at the pooler. If the pool is genuinely undersized for legitimate load, increase pool_size (RELOAD applies it), but verify the total across all pools still fits within PostgreSQL max_connections with headroom.

Backend connection failure

Verify PostgreSQL is up and accepting connections directly from the PgBouncer host. Check whether PostgreSQL is at max_connections and rejecting PgBouncer’s logins. Check SHOW DNS_HOSTS for a stale address after failover; a RELOAD refreshes the DNS cache. Fix credential mismatches between PgBouncer’s auth config and PostgreSQL. Do not restart PgBouncer as a first move: a restart drops all server connections and triggers a login storm that can make recovery slower.

Application stall

If every PgBouncer signal is healthy and clients are connected but idle, escalate to the application side: hung workers, deadlocks, blocked event loops, or a dependency outage upstream of the app. From the pooler’s perspective there is nothing to fix; SHOW CLIENTS source addresses tell you which app instances stopped sending.

Event loop saturation

If the single core is the ceiling, the durable fixes are running multiple PgBouncer processes with so_reuseport, or moving TLS termination off the pooler. Reducing connection churn (saner application pool sizing, longer-lived connections) buys time.

Prevention

  • Baseline the rate properly. Track avg_query_count and avg_xact_count per database as first-class metrics with rolling baselines, and alert on sustained deviation (for example >50% drop for several minutes), never on a single sample. Keep this as an investigation trigger, not a page by itself: throughput is context, and the playbook treats it as INFO-severity forensics.
  • Always pair rate with attribution metrics. A rate-drop alert that does not also surface avg_wait_time, avg_query_time, and cl_waiting forces the on-call to rediscover the split every time. Put all four on one dashboard.
  • Handle restarts in rate math. Counter resets are the number one false positive for this exact alert.
  • Suppress during maintenance. Include paused/disabled state in every PgBouncer alert condition.
  • Watch headroom, not just failure. sv_active / pool_size trending toward 85% and avg_wait_time creeping off zero are the early warnings that precede a throughput collapse. See PgBouncer capacity planning for runway estimation.
  • Hunt idle-in-transaction continuously. Track the avg_xact_time to avg_query_time ratio; a widening gap is the most common silent precursor to pool exhaustion.

How Netdata helps

  • Netdata collects PgBouncer admin-console stats continuously, so total_query_count deltas are computed with counter-reset handling instead of naive subtraction, eliminating the restart false positive.
  • Query rate, transaction rate, wait time, and query time are charted together per database, so the attribution split (pool latency vs backend latency vs no traffic) is visible in one view instead of three ad-hoc psql runs.
  • Per-pool cl_waiting, sv_active, sv_idle, and maxwait are tracked individually, which matters because one saturated pool hides behind healthy aggregates.
  • Paused/disabled database state is collected alongside the traffic metrics, giving immediate context for maintenance-window drops.
  • Process uptime and CPU per process are correlated on the same host view, so a restart or a single saturated core shows up next to the throughput change it caused.