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 / kafka / kafka-leader-election-rate-high

Operations Guides

Kafka LeaderElectionRateAndTimeMs spiking: election storms and slow elections

LeaderElectionRateAndTimeMs climbing outside maintenance windows means the controller is struggling to keep the partition map consistent. Producers and consumers may see NOT_LEADER_FOR_PARTITION or request timeouts. Partitions can hang under-replicated or offline while the controller works through a backlog.

This metric has two dimensions. The rate is how often leadership changes. The time is how long the metadata store takes to commit each change. High rate with low time means broker flapping or repeated administrative actions. Normal rate with high time means the controller event queue is backed up, ZooKeeper writes are slow, or the KRaft quorum is lagging. Determine which mode you are in before the cluster degrades further.

In KRaft mode, kafka.controller:type=ControllerStats MBeans are not exposed, so LeaderElectionRateAndTimeMs is absent from JMX (it is a ZooKeeper-mode controller metric; KRaft controllers expose kafka.controller:type=KafkaController metrics such as NewActiveControllersCount instead). ZooKeeper mode was removed in Kafka 4.0.

What this means

kafka.controller:type=ControllerStats,name=LeaderElectionRateAndTimeMs exposes a rate (elections per second) and a latency histogram (milliseconds per election). During healthy steady state, both should be near zero.

Bursts are expected during a broker restart, partition reassignment, or when auto.leader.rebalance.enable triggers preferred replica elections. In these cases, the rate spikes briefly and returns to zero within roughly one to two times replica.lag.time.max.ms.

Sustained nonzero rate outside maintenance means brokers are repeatedly joining and leaving the cluster, or ISR changes are forcing continuous re-elections. This is an election storm. Slow election times, measured in hundreds of milliseconds to seconds, point to the controller event queue backing up, ZooKeeper write latency in ZooKeeper mode, or KRaft quorum communication delays in KRaft mode. If elections happen faster than the controller can commit them, ControllerEventQueueSize grows and partitions wait longer to come back online.

flowchart TD
    A[Election rate spikes] --> B{Burst or sustained?}
    B -->|Burst| C[Correlates with maintenance?]
    C -->|Yes| D[Expected behavior]
    B -->|Sustained| E[Check ControllerEventQueueSize]
    E --> F{Growing?}
    F -->|Yes| G[Controller backlog. Check ZK or KRaft latency.]
    F -->|No| H[Check broker uptimes and logs]
    H --> I{Uptime resetting?}
    I -->|Yes| J[Broker flapping. Remove sick node.]
    I -->|No| K[Check for admin election scripts or Cruise Control.]

Common causes

CauseWhat it looks likeFirst thing to check
Broker flappingSustained election rate, broker process restarting, waves of URPBroker logs for repeated shutdowns, systemd status, or process uptime
Controller event queue backupSlow election times, growing ControllerEventQueueSize, offline partitions lagging behind realityControllerEventQueueSize on the active controller
ZooKeeper or KRaft metadata latencyElections taking seconds, ZK p99 latency elevated or KRaft commit latency highZK request latency (ZK mode) or kafka.server:type=raft-metrics (KRaft)
Slow follower spurious elections (KRaft)Elections without broker failure, follower fetch timeoutsFetchFollower latency and controller.quorum.fetch.timeout.ms
Admin-triggered election stormSpike correlates with kafka-leader-election.sh or Cruise Control rebalanceController logs for election trigger source

Quick checks

Run these read-only checks from a host with JMX access.

# Check election rate and 99th percentile latency
echo "get -b kafka.controller:type=ControllerStats,name=LeaderElectionRateAndTimeMs OneMinuteRate" | java -jar jmxterm.jar -l localhost:9999
echo "get -b kafka.controller:type=ControllerStats,name=LeaderElectionRateAndTimeMs 99thPercentile" | java -jar jmxterm.jar -l localhost:9999

# Check controller event queue depth
echo "get -b kafka.controller:type=ControllerEventManager,name=EventQueueSize Value" | java -jar jmxterm.jar -l localhost:9999

# Verify active controller identity
echo "get -b kafka.controller:type=KafkaController,name=ActiveControllerCount Value" | java -jar jmxterm.jar -l localhost:9999

# Find under-replicated partitions cluster-wide
kafka-topics.sh --bootstrap-server localhost:9092 --describe --under-replicated-partitions

# Check for offline partitions
kafka-topics.sh --bootstrap-server localhost:9092 --describe --unavailable-partitions

# Check ZooKeeper request latency (ZK mode only)
echo "get -b kafka.server:type=ZooKeeperClientMetrics,name=ZooKeeperRequestLatencyMs 99thPercentile" | java -jar jmxterm.jar -l localhost:9999

# Check KRaft quorum status (KRaft mode only)
kafka-metadata-quorum.sh --bootstrap-server localhost:9092 describe --status

How to diagnose it

  1. Expected burst or incident. During rolling restarts or kafka-reassign-partitions.sh, bursts are normal. Monitor until the rate returns to zero. If it does not resolve within one to two times replica.lag.time.max.ms, treat it as an incident.
  2. Isolate rate from time. High rate with fast times suggests brokers are flapping or an automation tool is triggering elections repeatedly. Normal rate with slow times suggests the controller or metadata store is the bottleneck.
  3. Broker flapping. Inspect broker logs for repeated shutdown sequences, JVM crash files, or zookeeper.session.timeout.ms expirations. Look for correlating spikes in UnderReplicatedPartitions that align with the same broker rejoining. If a broker’s uptime is resetting, isolate it.
  4. Controller event queue. If ControllerEventQueueSize is consistently above 100 or growing without bound, the controller is backlogged. In ZooKeeper mode, check ZK request latency. In KRaft mode, check kafka-metadata-quorum.sh describe --status for voter lag and commit latency. Do not restart additional brokers while the queue is growing; this generates more events.
  5. Partition availability. If LeaderElectionRateAndTimeMs is elevated but OfflinePartitionsCount is not dropping, the controller cannot process elections fast enough to restore availability. This is a PAGE-worthy condition.
  6. Administrative triggers. Look in controller logs for kafka-leader-election.sh or Cruise Control rebalance operations. KAFKA-14667 can cause preferred leadership elections triggered by Cruise Control to get stuck in purgatory indefinitely and time out.
  7. KRaft log noise versus real unclean elections. KAFKA-19148 (fixed in Kafka 4.1.0) causes the controller to log “UNCLEAN partition change” for clean elections. This is a false positive. Verify actual data safety via UncleanLeaderElectionsPerSec and OfflinePartitionsCount rather than log lines alone.
  8. KAFKA-20554 and acks=1 durability. With acks=1, producers can lose acknowledged records during planned leader transitions — partition reassignment, preferred-leader election, or controlled shutdown of the leader — when the records have not yet reached the high watermark before leadership moves. acks=all is unaffected.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
LeaderElectionRateAndTimeMs (OneMinuteRate)Direct measure of election velocitySustained >0 outside maintenance windows
LeaderElectionRateAndTimeMs (99thPercentile)Exposes slow controller metadata commitsp99 > 1000ms consistently
ControllerEventQueueSizeBacked-up queue serializes all controller work>100 sustained, or growing without bound
ActiveControllerCountExactly one controller must existCluster-wide sum != 1 for >30 seconds
UnderReplicatedPartitionsFollowers falling behind during leadership churnGrowing across multiple brokers
OfflinePartitionsCountConfirmed unavailabilityNonzero and growing while elections are slow
ZK Request Latency (ZK mode)Metadata store round-trips dominate election timep99 > 100ms sustained
KRaft quorum health (KRaft)Raft log append latency replaces ZKcommit-latency-avg > 100ms or current-leader = -1

Fixes

Broker flapping

Identify the flapping broker via logs and uptime. If the root cause is a failing disk, network partition, or GC-induced session timeout, stop restarting the broker in place. Perform a controlled shutdown to trigger clean leader elections for its partitions, then repair or replace the hardware before rejoining. A sick broker that repeatedly rejoins generates controller events faster than they can be processed.

Controller queue backup

Do not restart brokers or trigger additional reassignments. Check the metadata store:

  • In ZooKeeper mode, ensure the ZK transaction log is on a dedicated low-latency disk. ZK latency above 100ms directly inflates election time.
  • In KRaft mode, check disk latency on the controller nodes. Raft is sensitive to fsync latency. Verify voter connectivity with kafka-metadata-quorum.sh.

If the queue is draining, even slowly, allow it to complete. If it is growing, the controller may be in GC distress or the metadata store may be unresponsive. The controller event queue is single-threaded. There is no way to scale it horizontally except to reduce partitions or improve metadata store latency.

Slow elections from metadata store latency

For ZooKeeper, co-locating ZK with other workloads or using slow disks for the transaction log is a common cause. Move ZK to dedicated nodes with SSD-backed transaction logs.

For KRaft, increase controller.quorum.election.timeout.ms only to tolerate slow bootstrap in containerized environments where pods start sequentially. Do not increase this as a fix for runtime latency; runtime slowness is a disk or network problem.

Spurious KRaft elections from slow followers

If followers do not fetch within controller.quorum.fetch.timeout.ms, KRaft may trigger unnecessary new elections. KAFKA-15489 documents this behavior. Raising the fetch timeout to 1.5x its default value can reduce spurious elections without masking real follower failure.

Manual election tools timing out

KAFKA-16015 (fixed in Kafka 3.7.0) meant kafka-leader-election.sh ignored client-supplied request.timeout.ms and always used a default request timeout of roughly 15 seconds. If this tool times out against a stressed cluster, pass --admin.config pointing to a properties file with increased timeout values; on Kafka 3.7.0 and later the option is honored.

Prevention

  • Monitor LeaderElectionRateAndTimeMs and ControllerEventQueueSize as a pair. Queue growth is the leading indicator for election time spikes.
  • Keep partition counts per broker within tested limits. Controller recovery time scales linearly with partition count, and the event queue is single-threaded.
  • Run game-day failovers. Know how long your cluster takes to process leader elections for all partitions when a broker dies.
  • In KRaft mode, ensure controller nodes have disk read-write latency under 10ms. Raft throughput collapses when fsync latency spikes.
  • Avoid manual preferred replica elections during peak traffic. If you use Cruise Control, watch for KAFKA-14667, where preferred leadership elections can get stuck in purgatory indefinitely.
  • Be aware that KAFKA-20554 documents a narrow window where acks=1 writes can be lost during planned leader transitions. Use acks=all with min.insync.replicas=2 for topics where durability matters.

How Netdata helps

Netdata collects LeaderElectionRateAndTimeMs, ControllerEventQueueSize, and ActiveControllerCount by default. Composite charts overlay election time with UnderReplicatedPartitions and OfflinePartitionsCount to distinguish maintenance from stabilization failure. Alerts on the 99th percentile election time catch slow controllers before offline partitions accumulate. Per-broker process uptime identifies flapping brokers without JMX queries.