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 / cockroachdb / cockroachdb-detecting-hot-ranges

Operations Guides

CockroachDB detecting hot ranges: per-range QPS, CPU asymmetry, and the Hot Ranges page

Hot ranges are the most common performance bottleneck in CockroachDB that does not surface in aggregate metrics. The leaseholder model routes all reads and writes for a range through a single node. When one range receives disproportionate traffic, that node saturates while the rest of the cluster idles. The cluster-wide CPU average looks healthy. The per-node breakdown tells a different story.

Detection uses three complementary layers, each with different cost and fidelity tradeoffs. Per-node CPU and QPS asymmetry (standard Prometheus metrics) is cheap and continuous but indirect: it tells you a hot range likely exists, not which one. The DB Console Hot Ranges/Top Ranges page provides direct per-range QPS visibility but is manual and point-in-time. crdb_internal.ranges provides programmatic access to range layout (leaseholder, range size, replicas) but exposes no per-range QPS and is expensive to query, so it must not be scraped at regular intervals.

The three detection layers

flowchart TD
    A["Layer 1: per-node CPU/QPS
Prometheus metrics
Continuous, safe, indirect"] -->|"One node 2x+ others
with similar range counts"| B["Layer 2: DB Console
Hot Ranges/Top Ranges page
Manual, point-in-time, direct"] B --> C["Layer 3: hot ranges logs +
crdb_internal.ranges layout
Poll every 5-10 min max"] A --> C

Layer 1 answers “is there likely a hot range?” Layer 2 answers “which range is hot right now?” Layer 3 answers “which range is hot, and can I alert on it programmatically?”

Layer 1: per-node CPU and QPS asymmetry

This is the only layer safe for continuous monitoring. CockroachDB exposes per-node CPU and SQL throughput via Prometheus metrics at no extra cost. The signal is asymmetry: one node running significantly hotter than the others.

Key metrics for asymmetry detection:

MetricSourceWhat asymmetry means
sys_cpu_user_nsper-node, cumulative nsOne node at 2x+ CPU of peers with similar range counts suggests a hot leaseholder
sys_cpu_sys_nsper-node, cumulative nsSystem CPU imbalance suggests I/O-driven load, not SQL execution
sql_select_countper-node counterRead traffic concentrated on one node
sql_insert_count, sql_update_count, sql_delete_countper-node countersWrite traffic concentrated on one node
replicas_leaseholdersper-store gaugeOne node holding disproportionate leases

The threshold: one node at more than 2x CPU of others with similar range counts. The leaseholder of a hot range bears all SQL execution, KV processing, and Raft coordination for that range’s traffic. A single hot range can drive one node to 80% CPU while peers sit at 20%. The cluster average (~35%) looks unremarkable.

CPU asymmetry cannot identify the specific range. Multiple hot ranges on the same node, or a legitimate workload imbalance from lease distribution, produce the same pattern. It is a trigger for investigation, not a diagnosis.

# Check per-node CPU asymmetry from Prometheus endpoint
curl -s http://localhost:8080/_status/vars | grep -E 'sys_cpu_(user|sys)_ns'

Compare the rate of change across nodes. Raw counter values are cumulative nanoseconds.

Cross-referencing with QPS. Per-node SQL statement counters confirm whether CPU imbalance correlates with traffic imbalance. If one node handles 3x the sql_insert_count of peers, you have a write-heavy hot range. If CPU is imbalanced but QPS is uniform, the bottleneck may be compaction, GC pressure, or another non-hot-range issue. Check storage_l0_sublevels per store to rule out storage-driven CPU imbalance.

Gating out false positives. Before concluding CPU asymmetry means a hot range, check whether the affected node simply holds more ranges or leases. Query replicas_leaseholders and compare range counts per node. If one node has 2x the leases, the CPU imbalance may be a distribution problem. If range and lease counts are balanced but CPU is skewed, a hot range is the likely explanation.

Layer 2: the DB Console Hot Ranges page

The DB Console provides a dedicated Hot Ranges page that ranks ranges by queries per second. Use it when Layer 1 signals asymmetry.

In CockroachDB v26.1 and later, this page is renamed “Top Ranges” and lists the highest-ranked ranges by QPS, CPU time, read keys, write keys, read bytes, and write bytes. In earlier versions (v25.3 and below), the page is called “Hot Ranges” and shows the same per-range metrics (QPS, CPU, read/write keys, read/write bytes).

Access requirements. The Top Ranges page requires the admin role or a SQL user with the VIEWCLUSTERMETADATA system privilege; VIEWACTIVITY and VIEWACTIVITYREDACTED do not grant access to it (the older Hot Ranges page accepted the legacy VIEWACTIVITY/VIEWACTIVITYREDACTED role options). Confirm your role assignment with your cluster administrator if access is denied.

How to use it:

  1. Navigate to the Hot Ranges (or Top Ranges) page in the DB Console.
  2. Sort by QPS descending.
  3. Compare the top range’s QPS to the average. A range at more than 10x the average QPS is hot.
  4. Note the table name and range start key for the top ranges.

If the page shows per-range CPU, a range with high CPU but moderate QPS may indicate expensive scans rather than throughput-driven heat. Disproportionately high write keys indicate a write-heavy hotspot, typically caused by sequential primary keys or a single counter row.

The page is point-in-time and manual. It cannot trigger alerts, and the data refreshes on the console’s internal cadence. For automated detection or historical trending, use Layer 3.

Layer 3: per-range visibility via crdb_internal.ranges and hot ranges logs

crdb_internal.ranges exposes range layout programmatically (range_id, start_pretty, end_pretty, replicas, lease_holder, range_size), but it does not expose per-range QPS. Per-range QPS is available in the DB Console Hot Ranges/Top Ranges page and in the hot_ranges_stats log events; the advanced hot-ranges.sh debug script also partitions hot ranges by queries_per_second, writes_per_second, read_bytes_per_second, and write_bytes_per_second.

-- Range layout and leaseholder per range (expensive: poll at 5-10 min intervals, not per-scrape)
SELECT range_id, start_pretty, lease_holder, range_size
FROM crdb_internal.ranges
ORDER BY lease_holder
LIMIT 20;

Querying crdb_internal.ranges is a cluster-wide KV join and is expensive. Running it at a typical scrape interval (15-30 seconds) will degrade cluster performance. Poll every 5-10 minutes at most, and prefer SHOW RANGES FROM TABLE <table> WITH DETAILS when you need leaseholder and key-range information for a single table. Use these for diagnosis or low-frequency trending, not continuous monitoring; for per-range QPS, use the Hot Ranges/Top Ranges page or the hot ranges logs.

Privilege and stability caveats. crdb_internal tables are read-only and version-sensitive; their schema may change between releases without notice. Reading crdb_internal.ranges requires the admin role or the VIEWACTIVITY/VIEWACTIVITYREDACTED/ZONECONFIG privileges, and most crdb_internal objects are treated as unsafe internals gated behind the allow_unsafe_internals session setting (default off). Do not build automated monitoring pipelines that depend on specific column names without version-pinning and testing per release.

Interpreting the results:

PatternWhat it meansLikely cause
One range at 10x+ average QPSClassic hot rangeSequential primary key, single-row counter
Several adjacent ranges with high QPSHot range that partially splitSequential key with partial distribution
Single table dominates top-NTable-level access pattern issueTimestamp-ordered queries, “latest record” lookups
High QPS spread across many ranges on one nodeLeaseholder imbalanceNode holding disproportionate leases

The load-based splitting threshold. CockroachDB attempts to split ranges that exceed a QPS threshold automatically. The default kv.range_split.load_qps_threshold is 2500 QPS. If a range consistently exceeds this threshold but does not split, it likely contains a “popular key” - a single row or narrow key range receiving most of the traffic. A single hot row cannot be split further by the load-based splitter. This is the signature of a counter or sequence table.

What causes hot ranges

Hot ranges are almost always caused by key access patterns that concentrate traffic on a narrow portion of the keyspace.

Sequential primary keys. SERIAL and auto-incrementing primary keys generate monotonically increasing values. All inserts land at the end of the key range, and the range containing the current end of the sequence receives all write traffic. This is the most common cause.

Timestamp-prefixed keys. Primary keys that start with a timestamp (for example, (created_at, id)) concentrate inserts in the range covering the current time window. Reads for recent data also pile onto the same range.

Single-row counters and sequence tables. An application-maintained counter stored in a single row, or a sequence table used for ID generation, sends all updates to one key. The range containing that key cannot split because traffic is concentrated on a single row.

Unbalanced partition keys. Hash partitioning with a skewed key distribution can still concentrate traffic if the hash function does not spread the workload evenly.

If the Hot Ranges/Top Ranges page or the hot ranges logs show a hot range, check the table’s primary key definition. If the primary key is SERIAL, auto-incrementing, or timestamp-prefixed, you have found the cause.

Signals to watch

SignalWhy it mattersWarning sign
Per-node CPU (sys_cpu_user_ns rate)Leaseholder of hot range bears all execution costOne node at 2x+ peers with similar range counts
Per-node SQL counters (sql_*_count rate)Confirms traffic concentration vs. compute-only imbalanceOne node handling 3x+ the QPS of peers
replicas_leaseholders per storeRules out leaseholder imbalance as the causeOne node holding significantly more leases
txn_restarts (broken into cause sub-metrics including writetooold)Hot key contention forces serialization conflictsElevated restarts on specific tables
Hot Ranges/Top Ranges page QPS and hot_ranges_stats logsDirect per-range traffic measurementAny range at 10x+ cluster average QPS
SQL latency P99 (per-node, not aggregate)Hot range creates bimodal latency distributionOne node’s P99 significantly worse than peers

Short-term and long-term responses

Once you identify a hot range, the response depends on whether you need immediate relief or a permanent fix.

Short-term: manual range split. ALTER TABLE ... SPLIT AT forces a range boundary at a specific key. This can distribute traffic across two leaseholders if the hot range spans multiple key values. It does not help if heat is concentrated on a single row. This is a schema-affecting operation that changes range layout cluster-wide; test in a non-production environment first and apply during a maintenance window.

Long-term: redesign the primary key. Replace sequential keys with UUID or hash-prefixed keys that distribute writes uniformly across the keyspace. This is the only permanent fix for sequential-key hotspots.

No fix for single-row counters. A single-row counter cannot be split. Options include application-level sharding (maintaining N counter rows and summing on read) or accepting the hotspot and ensuring the leaseholder node has sufficient CPU headroom.

For the full diagnostic procedure and failure pattern details, see CockroachDB hot range bottleneck: one leaseholder saturated while the cluster idles.

How Netdata helps

Netdata’s per-second metrics collection makes CPU and QPS asymmetry visible without expensive crdb_internal queries:

  • Per-node CPU breakdown. sys_cpu_user_ns and sys_cpu_sys_ns per node at per-second resolution. Hot range asymmetry appears as one node consistently higher than peers, visible side-by-side across all nodes.
  • QPS correlation. Per-node sql_select_count, sql_insert_count, sql_update_count, and sql_delete_count rates confirm whether CPU imbalance correlates with traffic concentration. Per-second granularity catches transient asymmetry that 15-30 second scrape intervals miss.
  • Leaseholder distribution. The leases_count metric per store shows whether one node holds disproportionate leases, which mimics hot range symptoms and must be ruled out.
  • Contention and latency correlation. When CPU asymmetry appears, correlate it with txn_restarts, SQL latency P99, and admission control queue depth to narrow the diagnosis: is the hot range causing contention, throttling, or pure CPU saturation?
  • No expensive queries for continuous monitoring. Per-node Prometheus metrics give you the hot range early warning signal continuously, without the cluster-wide RPC cost of crdb_internal.ranges. Reserve the expensive query for targeted investigation.

Netdata’s CockroachDB monitoring brings these signals together with per-second metrics and ML anomaly detection.

The Netdata solution

CockroachDB monitoring with Netdata

Netdata monitors CockroachDB with per-second metrics and automatic dashboards. Watch LSM compaction, Raft liveness, clock skew, hot ranges, and intent buildup so the distributed-systems failure modes in these runbooks surface early.