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 / zookeeper / zookeeper-session-expiration-storm

Operations Guides

ZooKeeper session expiration storm: the ephemeral-node thundering herd

A session expiration storm is the worst-case thundering herd in a coordination service. Many clients lose contact long enough for the ensemble to declare their sessions dead. The cluster then deletes every ephemeral node owned by those sessions and fires every watch attached to those nodes. Every disconnected client reconnects at the same time, recreates its ephemeral nodes, and re-registers watches, hammering an ensemble that is already stressed.

This is not a server crash. The ZooKeeper nodes are typically still up and answering ruok. The damage is on the client side: Kafka brokers see their registration disappear, HBase RegionServers are marked dead, Solr shards lose leadership.

The defining signature is a V-shape in zk_num_alive_connections: a sharp drop, a plateau roughly the width of the negotiated session timeout, then a reconnect spike. zk_ephemerals_count mirrors the drop. zk_packets_sent surges as watch notifications fan out. zk_stale_sessions_expired and zk_connection_drop_count jump in lockstep.

What this means

When a client misses heartbeats for longer than its negotiated session timeout, the ensemble expires the session. ZooKeeper treats this as authoritative: it deletes every ephemeral znode owned by that session and clears all watches attached to those znodes. Other clients watching those znodes receive a watch event notification. For service discovery built on ephemeral nodes (Kafka broker IDs, HBase RegionServer ephemerals, Curator leader locks), this looks identical to the owning service dying.

The recovery path is worse than the loss. Every expired client reconnects, re-creates its ephemeral nodes, and re-registers watches. The ensemble absorbs a burst of new connections, create operations, and watch registrations while it is still delivering deletion notifications from the previous wave. If the trigger is still active (a saturated network path, an overloaded leader, a GC death spiral on the client fleet), the second wave of sessions expires too.

flowchart TD
    A[Trigger: net event, client GC, leader failover] --> B[Clients miss heartbeats]
    B --> C[Session timeout elapses]
    C --> D[zk_stale_sessions_expired jumps]
    C --> E[Ephemeral nodes deleted]
    E --> F[Watches fire: zk_packets_sent spikes]
    E --> G[Dependent services react]
    C --> H[zk_num_alive_connections drops]
    H --> I[zk_ephemerals_count drops]
    C --> J[Expired clients reconnect]
    J --> K[Reconnect spike: creates, watch re-reg]
    K --> L{Ensemble absorbs burst?}
    L -->|Yes| M[Recovery]
    L -->|No, trigger persists| C

Common causes

CauseWhat it looks likeFirst thing to check
Network event (partition, ASN change, LB failover)Simultaneous drops across many clients at the same instant; zk_num_alive_connections cliff; no preceding latency on the ZK sideNetwork path telemetry between client fleet and ZK; LB health and idle-timeout config
Client-side JVM GC pauseCorrelates with client GC logs; ZK side shows no latency spike before the drop; clients log ConnectionLoss then SessionExpiredClient GC logs (-Xlog:gc*), client heap usage
Leader failover in ZKzk_looking_count increments on multiple nodes; zk_sum_leader_unavailable_time grows; drop follows the electionzk_server_state history, zk_looking_count, election logs
Load balancer / TCP idle timeoutConnections drop after a fixed interval matching LB idle timeout; sessions were healthy beforeLB idle timeout vs negotiated session timeout
maxClientCnxns saturationzk_connection_rejected incrementing; reconnecting clients refused; affects specific source IPs firstzk_connection_rejected, cons for per-IP distribution
Reconnect wave saturating accept queueReconnect spike stalls on handshake; clients time out before completingss -ltn backlog, retransmit counters

Quick checks

All read-only and safe to run during the incident. Note: the four-letter-word commands (ruok, mntr, dump, cons) require explicit whitelisting via 4lw.commands.whitelist in zoo.cfg. In ZooKeeper 3.5.3+, only srvr is enabled by default (isro is added only when read-only mode is on). If these return empty, check the whitelist before assuming ZK is down.

# Confirm the ZK process is alive and not in read-only mode
echo ruok | nc localhost 2181
echo isro | nc localhost 2181

# Check ensemble state, recent elections, uptime
echo mntr | nc localhost 2181 | grep -E 'zk_server_state|zk_uptime|zk_looking_count'

# Watch the V-shape forming
echo mntr | nc localhost 2181 | grep -E 'zk_num_alive_connections|zk_ephemerals_count|zk_packets_sent|zk_packets_received'

# Confirm session expirations are the source of the connection drop
echo mntr | nc localhost 2181 | grep -E 'zk_stale_sessions_expired|zk_connection_drop_count'

# Check for ZK-side GC pause correlation
echo mntr | nc localhost 2181 | grep jvm_pause

# Check for leader unavailability window
echo mntr | nc localhost 2181 | grep leader_unavailable_time

# Check for fsync stalls that could have caused leader to miss heartbeats
echo mntr | nc localhost 2181 | grep fsynctime

# Check for maxClientCnxns saturation
echo mntr | nc localhost 2181 | grep -E 'zk_connection_rejected|zk_connection_request_count'

# Check for write pipeline saturation that would block session recreation
echo mntr | nc localhost 2181 | grep -E 'zk_outstanding_requests|zk_throttled_ops'

How to diagnose it

  1. Confirm it is a session storm, not a server crash. ruok returns imok and isro returns rw. The server is up; the clients are not.

  2. Confirm the V-shape. Sample zk_num_alive_connections every few seconds. You should see a sharp drop, a plateau roughly the width of the session timeout, then a reconnect spike. If you only catch the spike, you missed the drop. Check zk_stale_sessions_expired for the delta.

  3. Confirm ephemerals dropped. zk_ephemerals_count should mirror the connection drop within a few seconds. If connections dropped but ephemerals did not, suspect a session-tracking bug rather than a clean storm (see the stale-ephemeral conditions below: ZOOKEEPER-4837 is still open on current releases; ZOOKEEPER-2774 and ZOOKEEPER-2355 were fixed in 3.4.11 / 3.4.11-3.5.4-3.6.0 respectively).

  4. Confirm the watch fan-out. zk_packets_sent should spike relative to zk_packets_received. That gap is watch notifications firing.

  5. Time the trigger. The drop in zk_num_alive_connections is when clients lost contact. Session expirations lag by the session timeout. The reconnect spike follows. Find what happened at the drop time.

  6. Rule out ZK-side causes. Check zk_looking_count (leader failover?), zk_jvm_pause_time_ms p99 (ZK paused?), zk_fsynctime p99 (write stall?), zk_sum_leader_unavailable_time (leader down?). If any of these moved before the drop, the trigger is server-side.

  7. If ZK-side signals are clean, the trigger is between clients and ZK. Look at network path telemetry (retransmits, LB events, DNS), client-side GC logs, and client deploy or restart events. Cross-check downstream service logs: Kafka brokers log SessionExpiredException from SessionExpireListener, HBase logs RegionServer session loss, Solr logs shard leadership loss.

  8. Estimate downstream blast radius. Identify which ephemeral znodes vanished by inspecting the affected subtrees. For Kafka pre-KRaft, check /brokers/ids/. For HBase, check /hbase/rs/. For Solr, check collection state znodes. The set of vanished ephemerals is the set of services that reacted.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
zk_num_alive_connectionsActive client connections; the V-shape is the storm signatureSharp drop (>50% in one minute) followed by a reconnect spike
zk_stale_sessions_expiredCounter of sessions expired for missing heartbeatsAny non-zero rate outside maintenance
zk_ephemerals_countMirrors expirations: every expired session drops its ephemeralsSharp drop correlated with the connection drop
zk_connection_drop_countConnections closed by server or brokenSustained rate >0.1% of connections per minute
zk_packets_sentIncludes watch notifications; spikes during fan-outSent-to-received ratio jumps well above 1.0
zk_watch_countTracks watch fan-out loadMay drop during storm; sustained growth indicates watch leak
zk_looking_countElections can be both cause and effectAny increment outside maintenance
zk_jvm_pause_time_ms p99ZK-side GC causes storms; client GC does toop99 approaching a meaningful fraction of minSessionTimeout (2 x tickTime = 4000ms with the sample tickTime=2000 ms)
zk_sum_leader_unavailable_timeMeasures write unavailability from leader gapsAny non-zero delta
zk_connection_rejectedmaxClientCnxns saturation turns reconnects into failuresAny non-zero rate during the reconnect spike
zk_outstanding_requestsReconnect storm can saturate the request pipelineSustained non-zero approaching globalOutstandingLimit (default 1000)

Fixes

If the trigger is still active

Stop the bleeding first. If the network event, GC death spiral, or leader instability is still firing, the storm renews itself.

  • Network partition: fix the path. Until the path is healthy, clients cannot reconnect and the next wave of sessions also expires.
  • Client-side GC storm: client owners must reduce heap pressure or switch collectors. You cannot fix this from the ZK side.
  • Leader failover loop: address the underlying cause (disk, GC, network between ensemble members). See the leader election storm guide.

If the ensemble is overwhelmed by the reconnect wave

The reconnect spike can saturate the ZK request pipeline even after the original trigger is gone.

  • Watch zk_outstanding_requests and zk_throttled_ops. If zk_outstanding_requests is climbing toward globalOutstandingLimit (default 1000), the leader is saturated.
  • Watch zk_connection_rejected. If this is incrementing, maxClientCnxns (default 60 per source IP) is the bottleneck and reconnecting clients are being refused silently. In containerized deployments where many pods share a host IP, raising maxClientCnxns may be necessary. There is no server-side log for the rejection by default.
  • Watch the accept queue. clientPortListenBacklog defaults to -1, which makes the JVM fall back to its own backlog of 50 pending connections (OpenJDK ServerSocketChannelImpl calls Net.listen(fd, backlog < 1 ? 50 : backlog)), easy to overflow during a reconnect herd. If you cannot tune it now, rate-limit reconnects at the network layer (a temporary firewall rule that admits new connections at a controlled rate). This is disruptive and must be coordinated with service owners.

Stale ephemeral nodes after the storm

In some versions, ephemeral nodes can survive their owning session under specific failure conditions: a network issue during the PROPOSAL request (ZOOKEEPER-4837, still open), a follower failing while reading the proposal packet (ZOOKEEPER-2355, fixed in 3.4.11/3.5.4/3.6.0 but reported as not fully resolved by ZOOKEEPER-4837), or an unexpected system clock change to an earlier time (ZOOKEEPER-2774, fixed in 3.4.11).

If zk_ephemerals_count does not return to its pre-storm baseline while zk_num_alive_connections does, suspect stale nodes. Stale ephemeral nodes break dependent services: a Kafka broker ID that is “alive” with no broker behind it, a Curator leader lock held by a dead process. Identify owning session IDs with dump, confirm the sessions are gone, then remove the nodes manually with the ZK CLI.

Warning: deleting ephemeral znodes by hand is destructive. A service whose node you delete will lose its registration and may be declared dead by its peers. Confirm the owning session is truly gone and coordinate with the owning service team before touching production znodes.

Dependent service recovery

ZK recovering does not equal downstream recovering.

  • Kafka (pre-KRaft): broker deregistration triggers partition leadership changes. Watch controller failover and under-replicated partition counts. Brokers must re-register and re-create their ephemeral before they count as live.
  • HBase: RegionServer session loss triggers region reassignment. Monitor the Master for assignment backlog.
  • Solr: shard leader elections run through ZK. Watch for repeated elections after the storm clears.

Prevention

  • Separate dataLogDir from dataDir on dedicated low-latency storage. fsync stalls are a top cause of leader failover, which is a top cause of session storms.

  • Monitor zk_jvm_pause_time_ms p99 on the ZK nodes. GC pauses on ZK cause heartbeats to be missed server-side. p99 should stay well below minSessionTimeout (default 2 x tickTime = 4000ms).

  • Push client owners to monitor their own GC. Client-side GC pauses are the most common cause of fleet-wide session expiration. Clients should log ConnectionLoss and SessionExpired events and track reconnection rate.

  • Review client session timeouts against network reality. The negotiated timeout is bounded by the server: minimum is 2 x tickTime, maximum is 20 x tickTime. With tickTime=2000 the server-enforced range is 4s to 40s. Clients requesting shorter timeouts than the server minimum silently get the minimum, which mismatches application assumptions.

  • Review load-balancer idle timeouts against the negotiated session timeout. An LB that idle-times out a quiet ZK connection before the client sends its next heartbeat will cause session loss.

  • Tune clientPortListenBacklog for fleets with thousands of clients. The default of -1 resolves to the JVM’s 50-connection fallback, which is too low for reconnect storms; set it explicitly to absorb the worst reconnect burst (hundreds is a common starting point).

  • Consider local sessions (3.5.0+) if your workload allows. localSessionsEnabled avoids quorum confirmation for each session, reducing the cost of mass reconnection. Local sessions cannot create ephemeral nodes unless localSessionsUpgradingEnabled is also enabled; that behavior is unchanged in 3.9.x.

  • Consider WatchManagerOptimized (3.6.0+), selected via the watchManagerName system property. It includes lazy dead-watcher cleanup with configurable threads (watcherCleanThreadsNum, default 2) and helps when many sessions expire simultaneously and generate many dead watchers.

  • Run periodic chaos exercises. Deliberately kill a ZK leader in a controlled window and observe how the client fleet and dependent services react. Most session-storm incidents expose client-side bugs that only surface under failover conditions.

How Netdata helps

Per-second collection and anomaly detection help catch the V-shape signature before downstream services page.

  • Per-second zk_num_alive_connections, zk_ephemerals_count, zk_packets_sent, and zk_stale_sessions_expired make the V-shape and its session-timeout lag visible at the resolution needed to distinguish a storm from a single client disconnect.
  • Correlating zk_jvm_pause_time_ms p99 with the connection drop tells you in one view whether the trigger was ZK-side GC or external.
  • Correlating zk_looking_count and zk_sum_leader_unavailable_time with the drop tells you whether a leader gap preceded the storm.
  • Anomaly detection on the zk_packets_sent to zk_packets_received ratio surfaces watch fan-out before the connection drop is large enough to threshold.
  • The same signals on leader and followers, side by side, make it obvious whether the trigger is ensemble-wide or specific to one node.
  • Composite alerts (connection drop plus zk_stale_sessions_expired delta plus ephemerals drop within a session-timeout window) match the actual failure pattern rather than threshold-gaming individual metrics.