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 / apache-pulsar / apache-pulsar-zookeeper-session-expired ▌

Operations Guides

Apache Pulsar ZooKeeper session expired: brokers fenced and topics reassigned

A broker’s ZooKeeper session expires when it fails to send heartbeats within the session timeout window. The expiry triggers immediate fencing of the broker, loss of all namespace bundle ownership, and reassignment of those bundles to surviving brokers. Clients connected to the fenced broker see errors like “Topic is temporarily unavailable” or “Attempting to add producer to a fenced topic” until the topics are picked up elsewhere.

The most common root cause is a long JVM garbage collection pause on the broker that prevents ZK heartbeats from being sent in time. The second most common is elevated ZK server latency, where heartbeats are sent but not processed before the timeout. Both paths converge on the same outcome: the broker’s ephemeral znodes are deleted, ownership transfers, and the cluster enters a state of high metadata churn.

What this means

When metadataStoreSessionTimeoutMillis (default 30 seconds) elapses without a successful ZK heartbeat from the broker, ZK considers the session expired. The sequence that follows is deterministic:

flowchart TD
    A["GC pause or ZK latency
exceeds session timeout"] --> B["ZK expires broker session"] B --> C["EPHEMERAL znodes deleted
(bundle ownership lost)"] C --> D["Load manager detects
broker disappeared"] D --> E["Bundles reassigned
to surviving brokers"] E --> F["Original broker topics
fenced by BookKeeper"] F --> G["Clients see topic
unavailable errors"] G --> H["Clients reconnect to
new owning brokers"] H --> I["Metadata operation spike
on ZK from reconnections"]

In Pulsar 2.10 and later, the default zookeeperSessionExpiredPolicy is reconnect (PIP-118, issue #13304). The broker does not shut down on session expiry. It stays alive, continues serving existing topics where possible, and attempts to establish a new ZK session. Before 2.10, the default was shutdown, which caused the broker to halt via Runtime.halt(-1).

The reconnect policy avoids the restart cost and is generally better for cluster stability, but it has a known issue: when the broker re-establishes its session, it does not automatically unload topics that were reassigned to other brokers during the outage. Stale fenced topic objects can remain in memory, and clients routed to the original broker continue seeing “Topic is temporarily unavailable” until those topics are manually unloaded or the broker is restarted. The workaround is to set topicFencingTimeoutSeconds (a broker.conf key, default 0) to a small positive value (for example, 5), which causes the broker to forcefully close topics that remain fenced beyond that duration.

Common causes

CauseWhat it looks likeFirst thing to check
Long GC pause on brokerBroker-to-ZK session drops on one broker; GC logs show pauses over 1s; session expires silentlyBroker GC logs or jstat -gc output
ZK server latency spikeMultiple brokers lose sessions simultaneously; ZK latency over 50ms; outstanding requests growing`echo “stat”
ZK ensemble quorum lossAll brokers lose sessions; ZK cluster cannot maintain quorumZK process health on each ensemble member
Network partition to ZKBrokers on one network segment lose sessions while others do notNetwork connectivity between broker and ZK hosts
Session timeout too lowFrequent session expirations during normal GC pauses; no correlation with ZK issuesCurrent metadataStoreSessionTimeoutMillis value

Quick checks

Run these read-only checks to scope the incident. None are disruptive.

# Broker-to-ZK session state is not exposed as a Prometheus metric; check with the ZK four-letter command from each broker host
echo "stat" | nc <zk-host> 2181

# Check broker health (does it respond at all?)
curl -sf http://<broker-host>:8080/admin/v2/brokers/health

# Check ZK ensemble health from each ZK node
echo "stat" | nc <zk-host> 2181

# Check ZK watch count (watch explosions degrade ZK)
echo "wchs" | nc <zk-host> 2181

# Check ZK client latency metrics on the broker
curl -s http://<broker-host>:8080/metrics | grep -E "zk_(read|write)_latency|pulsar_metadata_store"

# Check bundle unload rate (ownership churn from reassignment)
curl -s http://<broker-host>:8080/metrics | grep pulsar_lb_unload_bundle_total

# Check lookup failures (new clients failing to find topic owners)
curl -s http://<broker-host>:8080/metrics | grep pulsar_broker_lookup

# Check active connections (reconnect storms cause spikes)
curl -s http://<broker-host>:8080/metrics | grep pulsar_active_connections

# Check broker GC behavior (1-second intervals)
jstat -gc <broker-pid> 1000

# Check current session timeout configuration
grep -E "metadataStoreSessionTimeoutMillis|zooKeeperSessionTimeoutMillis" <broker-conf-path>/broker.conf

How to diagnose it

  1. Identify which brokers lost sessions. Run echo "stat" | nc <zk-host> 2181 from each broker host (or search broker logs for “Session expired”). A broker whose session expired is gone from ZK’s client list. One broker affected points to GC; multiple brokers affected simultaneously points to ZK.

  2. Determine the root cause: GC or ZK latency. If one broker is affected, check its GC logs. A full GC pause exceeding 30 seconds will expire a session with the default timeout. If multiple brokers are affected simultaneously, the problem is on the ZK side. Broker logs will show “Session expired” or “Connection loss” events.

  3. Check ZK server health. Run echo "stat" | nc <zk-host> 2181 on each ZK ensemble member. Look at outstanding requests, latency, and whether the node is in the ensemble. Check ZK transaction log disk I/O with iostat -x 1 on the ZK hosts. ZK is single-threaded for writes; a slow transaction log disk bottlenecks everything.

  4. Check for watch explosions. Run echo "wchs" | nc <zk-host> 2181. A very high watch count indicates that consumer reconnection storms are generating excessive watch registrations, which degrades ZK performance. This is a common contributor to cascading session expirations.

  5. Assess client impact. Check pulsar_broker_lookup_failures across brokers. Rising lookup failures mean new client connections cannot resolve topic ownership. Check publish and dispatch rates: if pulsar_rate_in drops to zero on affected topics, producers are blocked.

  6. Check for fenced topics that are stuck. If the broker has reconnected (session state back to 1) but clients still report “Topic is temporarily unavailable” on that broker, the topic may be stuck in a fenced state. This is the known issue where fenced topics are not automatically unloaded after reconnect.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Broker-to-ZK session state (ZK four-letter stat from each broker host; not a Prometheus metric)Binary indicator of broker-to-ZK session health. Any lost session is an incident.Session missing on any broker
ZK request latencyLeading indicator for session expiry. When request queueing grows, heartbeats may not be processed within the timeout window.Sustained average over 50ms; 100ms+ means the ZK ensemble cannot keep up and sessions are at risk
ZK watch count (wchs)Watch explosions degrade ZK throughput, contributing to latency spikes that expire sessions.Count growing without bound during reconnect storms
Broker GC pause durationThe most common root cause. Pauses longer than the session timeout guarantee expiry.Any full GC pause over 1 second
pulsar_lb_unload_bundle_totalBundle ownership churn indicates the cluster is actively reassigning work after fencing.Rate over 1 per minute outside maintenance windows
pulsar_broker_lookup_failuresNew clients cannot find topic owners during the reassignment window.Failure rate over 1% of total lookups sustained
pulsar_active_connectionsConnection count fluctuations indicate reconnect storms after fencing.Rapid drops followed by spikes
pulsar_broker_publish_latencyLatency rises during ownership transitions and remains elevated if the cascade feeds itself.P99 over 2x rolling baseline

Fixes

Do NOT restart brokers

This is the most important guidance. Brokers running with zookeeperSessionExpiredPolicy=reconnect (the default in Pulsar 2.10+) will re-establish their ZK sessions on their own once the underlying problem (GC pressure or ZK latency) resolves. Restarting a broker during a ZK outage adds reconnection and re-ownership load, which can worsen the cascade.

The one exception: if a broker has reconnected but topics remain permanently fenced (the stale fenced topic issue), you may need to unload those topics or restart the broker as a last resort.

If GC is the root cause

  1. Check GC logs for frequency and duration of full GC events. Look for pauses exceeding metadataStoreSessionTimeoutMillis.
  2. If heap pressure is the issue, reduce managedLedgerCacheSizeMB or increase JVM heap.
  3. If direct memory is exhausted, check pulsar_active_connections for leaks and consider increasing -XX:MaxDirectMemorySize.
  4. ZGC has been the default GC algorithm since Pulsar 2.11.0 (2.10 and earlier default to G1GC). ZGC’s low-pause design reduces the risk of a GC-pause session expiry; Shenandoah is an alternative where your JDK supports it. Test under your workload before switching.

If ZK latency is the root cause

  1. Check ZK transaction log disk health with iostat -x 1 on the ZK host. The transaction log must be on a dedicated disk.
  2. If a ZK ensemble member has failed, check quorum status and replace or restart it.
  3. If watch count is the problem, reduce topic-level watch pressure by consolidating subscriptions or reducing topic count per namespace.
  4. As a temporary measure during an active cascade, increasing metadataStoreSessionTimeoutMillis can buy time by allowing brokers to survive longer ZK latency spikes. This is a bandage, not a fix.

If topics are stuck fenced after reconnect

  1. Set topicFencingTimeoutSeconds to a small positive value (for example, 5). This causes the broker to forcefully close topics that remain fenced for that duration, allowing clients to redo lookups and connect to the correct owner broker.
  2. Manually unload specific stuck topics using pulsar-admin topics unload.
  3. On versions before 2.10.6 / 2.11.3 / 3.0.2 (PR #21035), BookKeeper ensemble information may be stale after ZK client reconnect. Upgrading resolves this.

If proxy lookup cache is stale

After topics are reassigned, the Pulsar proxy may cache the old broker’s service URL. Clients can see handshake failures for up to approximately 51 seconds (the most common recovery time documented in issue #9297, with worst cases around 1m40s). There is no manual fix beyond waiting for the cache to expire.

Prevention

Tune the session timeout deliberately. The default metadataStoreSessionTimeoutMillis is 30 seconds. Too low and normal GC pauses cause spurious session expirations. Too high and failure detection is slow, meaning a genuinely dead broker holds its bundles longer before they are reassigned. Most production deployments use 30 to 60 seconds. Match the timeout to your GC profile: if your worst-case full GC pause is 20 seconds, a 30-second timeout is marginal. Consider 60 seconds or reduce GC pause times.

Set topicFencingTimeoutSeconds. With the default value of 0 (disabled), fenced topics after reconnect are never automatically cleaned up. Setting this to a small value like 5 prevents the stale fenced topic issue from affecting clients after recovery.

Monitor ZK as a first-class component. ZK latency is the leading indicator for cluster-wide cascades. Alert on sustained average latency above 50ms and treat 100ms as critical. Track watch count with echo "wchs" | nc <zk-host> 2181.

Monitor broker GC pauses. Correlate GC pause duration with ZK session state. If sessions expire during GC pauses, the heap or GC algorithm needs attention before the next cascade.

Avoid rolling operations during ZK stress. Broker restarts trigger bundle redistribution, which generates ZK metadata operations. If ZK is already under stress, rolling restarts can push it over the edge into a session expiry cascade.

How Netdata helps

  • Per-second pulsar_zookeeper_connected collection catches session state transitions as they happen. Correlating the exact timestamp of a session drop with GC pause data from the same host identifies the root cause.
  • ZK latency metrics alongside broker metrics on the same dashboard let you distinguish a slow ZK server from a broker that cannot reach ZK.
  • GC pause duration tracking via JVM integration shows whether sessions are expiring because of GC, not ZK.
  • Bundle unload rate and lookup failure metrics show the downstream blast radius: how many bundles are churning and how many client connections are failing.
  • Anomaly detection on ZK latency, active connections, and bundle unload rate flags unusual patterns that can precede a cascade.