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-heap-exhaustion-oom

Operations Guides

ZooKeeper OutOfMemoryError: Java heap space - the OOM that kills the whole ensemble at once

You grep the ZooKeeper log and find java.lang.OutOfMemoryError: Java heap space. The process is gone. A minute later another node dies with the same error, then the third. The whole ensemble went down inside a single window, not as a rolling failure. That simultaneity is the signature, not a cascade.

ZooKeeper holds the entire data tree on the JVM heap: every znode, its data, ACL references, children lists, stat structures, plus session state, watch tables, and request queues. Every ensemble member holds the same tree. Whatever fills the heap on one node fills it on all of them at roughly the same rate, so when the tree finally exceeds the heap they OOM near-simultaneously. This is a single-cause total outage.

The death usually arrives in two stages. First, the heap gets tight enough that the GC runs continuously and reclaims almost nothing, because most live objects are long-lived data tree nodes. Stop-the-world pauses stretch from milliseconds into seconds, sessions start expiring, and JVM pause p99 climbs. Then the JVM either throws OutOfMemoryError directly or is OOMKilled by the kernel because resident set exceeded the cgroup limit. By the time the error string appears in the log, the runaway growth has been happening for days or weeks. The fix is not to restart; it is to find what is filling the heap and size the heap to actually hold it.

What this means

java.lang.OutOfMemoryError: Java heap space means the JVM could not allocate an object because the Java heap was exhausted and a GC cycle could not free enough space to proceed. For ZooKeeper this is almost never a transient allocation spike. It is the terminal event of sustained on-heap growth from the data tree, the watch table, the session table, or all three. Once heap utilization is consistently above roughly 85%, GC frequency skyrockets and produces stop-the-world pauses that cascade into session expirations and leader elections long before the actual OOM lands.

Because every ensemble member replicates the same data tree, the heap pressure curve is nearly identical across nodes. A workload that pushes one node into OOM pushes all of them into OOM. That is why the outage looks coordinated even though there is no communication between the failures. The diagram shows the loop you are trying to break.

flowchart TD
    A[Data tree grows on every node] --> B[Heap approaches max]
    B --> C[GC frequency skyrockets]
    C --> D[Stop-the-world pauses grow]
    D --> E[Sessions expire, heartbeats miss]
    C --> F[GC reclaims almost nothing]
    F --> C
    D --> G[JVM throws OutOfMemoryError]
    G --> H[Process dies or OOMKilled]
    H --> I[Same data tree on every node]
    I --> J[Near-simultaneous OOM on all members]

Two practical implications follow. First, do not treat a single OOM as a single-node incident; assume the rest of the ensemble is hours or minutes behind. Second, the leading indicator is not peak heap usage, it is the post-GC heap trough. If the trough is climbing over days, the live set is growing and the OOM is predetermined unless the tree stops growing or the heap grows.

Common causes

CauseWhat it looks likeFirst thing to check
Unbounded znode growthzk_znode_count climbing monotonically; zk_approximate_data_size climbing with it; persistent nodes accumulating under a framework pathzk_znode_count trend over 30 days
Watch table bloatzk_watch_count growing faster than zk_num_alive_connections; watch storms on popular nodeszk_watch_count vs connection ratio
Session or ephemeral accumulationephemerals and sessions growing without client growth; sessions not expiring cleanlyephemeral count and session-to-connection ratio
Heap too small for the data treeHeap utilization sustained above 75% with a rising trough; full GCs in the log; healthy znode count but undersized -XmxPost-GC heap trough vs Xmx
Container memory limit mismatchJVM crash log shows memory_limit_in_bytes lower than -Xmx; “Cannot create worker GC thread” or immediate OOMKill on startPod memory limit vs ZK_SERVER_HEAP / ZOO_HEAP_SIZE
GC algorithm wrong for heap sizeLong full GC pauses with CMS or Parallel on a multi-GB heap; fragmentation-driven promotion failuresGC log for “Pause Full” frequency and duration

Quick checks

These are read-only. Run them on the node before it dies, or on a surviving peer if the node is gone.

# Data tree footprint
echo mntr | nc localhost 2181 | grep -E "zk_znode_count|zk_approximate_data_size|zk_ephemerals_count|zk_watch_count"

# JVM heap state right now
jstat -gcutil $(pgrep -f QuorumPeerMain) 1000 5
jcmd $(pgrep -f QuorumPeerMain) GC.heap_info

# GC pressure and queued work
echo mntr | nc localhost 2181 | grep -E "zk_(avg|p99)_jvm_pause_time_ms|zk_outstanding_requests"

# Uptime, to confirm an OOMKill restart
echo mntr | nc localhost 2181 | grep zk_uptime

# Find the error in the log
grep -E "OutOfMemoryError|java.lang.OutOfMemory" /var/log/zookeeper/zookeeper.log | tail -20

# Confirm what heap and GC the JVM is actually running with
ps -o args= -p $(pgrep -f QuorumPeerMain) | tr ' ' '\n' | grep -E "Xmx|Xms|UseGC|MaxRAMPercentage"

# Confirm container memory limit if running in Kubernetes or under systemd
cat /sys/fs/cgroup/memory.max 2>/dev/null || cat /sys/fs/cgroup/memory/memory.limit_in_bytes 2>/dev/null

The last two commands matter because the OOM is often not “ZooKeeper used too much memory” but “the JVM heap was set larger than the container allows” or “the heap was never sized for the data tree in the first place.”

How to diagnose it

  1. Confirm the failure mode. The log line is definitive for Java heap space. Distinguish it from Metaspace (class metadata leak, different fix) and from kernel OOMKill (check dmesg for Killed process and the cgroup memory limit). A kernel OOMKill of the JVM is functionally the same incident but shows up as exit code 137, not as a Java stack trace.

  2. Pull the data tree size from a surviving peer. Every node holds the same tree, so any peer gives you the answer.

    echo mntr | nc localhost 2181 | grep -E "zk_znode_count|zk_approximate_data_size|zk_watch_count|zk_ephemerals_count"
    

    Multiply zk_znode_count by roughly 300 bytes of per-znode overhead, add zk_approximate_data_size, then double it for JVM object overhead. If that number is close to your -Xmx, the tree alone is the problem.

  3. Check the heap trough trend, not the peak. Pull JVM heap usage at per-second granularity over the last week and look at the post-GC minimum. A flat peak with a rising trough means the live set is growing. A sawtooth with a stable trough means the heap is fine and the OOM came from something else, usually a transient allocation spike or a watch storm.

  4. Find the subtree that is bloating. Use dump to list sessions with their ephemeral nodes, or walk the tree from the root with the ZooKeeper CLI. Common culprits are framework paths like consumer offsets, leader-election locks, task nodes, or anything that creates sequential or per-task persistent nodes without cleanup.

    # Ephemeral node summary (read-only, safe)
    echo dump | nc localhost 2181 | head -50
    

    Be careful with wchc and wchp; they iterate every watch and can stall a loaded server. They are also disabled by default unless listed in 4lw.commands.whitelist.

  5. Check whether the heap was ever actually sized for this tree. Compare the running -Xmx from ps against the tree footprint from step 2. Default heaps are frequently too small for production. Upstream zkEnv.sh has defaulted to 1000 MB (ZK_SERVER_HEAP=1000) since ZooKeeper 3.5, and the Bitnami image defaults ZOO_HEAP_SIZE to 1024 MB. The hardcoded -Xmx from zkEnv.sh (present since 3.5; reported in ZOOKEEPER-4701) silently overrides any -XX:MaxRAMPercentage you set via JVMFLAGS. Either way, if you never set ZK_SERVER_HEAP, ZOO_HEAP_SIZE, or JVMFLAGS explicitly, assume the heap is wrong.

  6. If running in a container, compare the JVM heap to the cgroup limit. The JVM respects container limits via UseContainerSupport, but an explicit -Xmx from zkEnv.sh overrides that. If Xmx is larger than memory.max, the JVM will be OOMKilled the moment it tries to grow into that space, often during GC thread creation.

  7. Correlate with JVM pause time. If JVM pause metrics were climbing for hours or days before the OOM, you are looking at the GC death spiral, not a sudden event. The OOM is just the end of it.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
zk_znode_countDirect proxy for data tree size, the dominant heap consumerMonotonic growth without a corresponding business reason
zk_approximate_data_sizeBytes of znode data on heap, excluding per-node overheadGrowth outpacing heap headroom
zk_watch_countWatch table lives on heap; one popular node change fans out thousands of notificationsCount growing faster than zk_num_alive_connections
zk_ephemerals_countEphemeral accumulation eats heap and blocks expiry cleanupGrowth without client growth
JVM pause time avg/p99The GC death spiral shows up here long before the OOMp99 climbing toward a meaningful fraction of minSessionTimeout
zk_outstanding_requestsQueue builds during GC pauses; sustained non-zero means the pipeline is stalledSustained above zero with active traffic
zk_packets_received / zk_packets_sentBursts here during watch fan-out or mass deletion reveal what triggered the spikeSpike correlated with deletion or watch storm
zk_uptimeConfirms a restart, including silent OOMKillUnexpected reset

The single most useful leading indicator is the post-GC heap trough trend. Peaks are noisy; troughs are the live set. Plot the trough over 30 days and extrapolate linearly to roughly 80% of max heap. That is your runway.

Fixes

Right-size the heap

This is the first action when the data tree is legitimately large and there is no leak to clean. Set the heap explicitly so distro or container defaults cannot surprise you.

# In zkEnv.sh or your startup wrapper
export ZK_SERVER_HEAP=4096   # MB; for Bitnami images use ZOO_HEAP_SIZE
# Or via JVMFLAGS:
export JVMFLAGS="-Xms4g -Xmx4g $JVMFLAGS"

A rolling restart is required; there is no way to resize the heap of a running JVM. Plan the restart outside peak write load. Use -Xms equal to -Xmx to avoid heap resizing pauses, and consider -XX:+AlwaysPreTouch so the OS commits the pages at startup rather than during steady state. Leave 25 to 30 percent of the container or host memory free for off-heap buffers, JVM internals, and the OS, otherwise the kernel OOM killer will come for the JVM even with a correctly sized heap.

For container deployments, set the pod memory limit and the heap together. If the limit is 4Gi, set ZK_SERVER_HEAP=3072 or ZOO_HEAP_SIZE=3072, not 4096. The Bitnami chart’s heapSize parameter does not always propagate; set ZOO_HEAP_SIZE directly as a workaround.

Switch the garbage collector

For heaps above 2 to 3 GB, G1GC is the baseline and ZGC (JDK 15+) is preferable for low pause times. CMS and Parallel produce long full GC pauses on large heaps and make the death spiral worse. ZooKeeper’s startup scripts do not set a collector, so the JVM default applies: G1GC since JDK 9.

export JVMFLAGS="-XX:+UseG1GC -XX:MaxGCPauseMillis=100 $JVMFLAGS"
# Or, on JDK 15+:
export JVMFLAGS="-XX:+UseZGC $JVMFLAGS"

Enable GC logging so the next incident has evidence.

# JDK 9+
export JVMFLAGS="$JVMFLAGS -Xlog:gc*:file=/var/log/zookeeper/gc.log:time,uptime,level,tags:filecount=5,filesize=100m"

Clean up the data tree

If a subtree is leaking, the only durable fix is to stop the leak and clean up. Identify the offending application path, fix the client (proper ephemeral node lifecycle, TTL nodes, container nodes, or explicit cleanup), then delete accumulated nodes.

Deleting nodes in production is risky. Each delete can fire watches and trigger downstream reactions in Kafka, HBase, Solr, or anything else watching that path. Delete in small batches during a maintenance window, and watch zk_watch_count, zk_outstanding_requests, and zk_packets_sent as you go. Prefer TTL nodes (createTtl) or container nodes (createContainer) for new paths so the tree self-cleans without application cooperation.

Fix container memory mismatch

If the JVM crash log shows memory_limit_in_bytes lower than the configured -Xmx, the fix is either to raise the pod memory limit or lower the heap. Raising the limit is usually correct if the data tree justifies it; lowering the heap just defers the OOM. Check both the request and the limit; a low limit with a high request will still OOMKill.

Prevention

  • Plot zk_znode_count and zk_approximate_data_size as long-horizon trends. This is the single best early warning. A leak that takes a year to OOM shows up as a straight line within a week.
  • Plot the post-GC heap trough, not the peak. The trough is the live set. A rising trough with a flat peak means the tree is growing.
  • Set the heap explicitly on every node from day one. Never rely on distro or upstream defaults for production. Document the heap alongside the ensemble topology.
  • Set the heap and the container memory limit together. They are one decision, not two. Review both whenever the data tree grows significantly.
  • Use G1GC or ZGC. Parallel and CMS make heap pressure incidents worse than they need to be.
  • Enable GC logging permanently. You will need it for the next incident and the disk cost is trivial.
  • Enable autopurge. autopurge.purgeInterval and autopurge.snapRetainCount keep disk usage bounded, which prevents a related class of crash that masquerades as heap pressure during recovery.
  • Audit znode creation patterns in client applications. The leak almost always originates in a framework creating per-task or per-session persistent nodes without cleanup.
  • Set jute.maxbuffer deliberately. The default 1MB cap per znode is correct for coordination data; raising it invites applications to store payloads that do not belong in ZooKeeper.
  • Test failover and recovery with the production-sized tree. A SNAP sync after a restart of a large tree is when heap pressure becomes most visible, because the leader serializes the entire tree under load.

How Netdata helps

  • The Netdata ZooKeeper collector pulls the full mntr family every second, so zk_znode_count, zk_approximate_data_size, zk_watch_count, and zk_ephemerals_count are available as high-resolution trends rather than point-in-time snapshots. The trough of the heap usage curve is what predicts this incident, and per-second resolution is what makes the trough visible.
  • JVM pause metrics sit beside heap usage so you can see the GC death spiral forming before the OOM lands.
  • ML anomaly detection flags monotonic drift in zk_znode_count and zk_watch_count weeks before the heap is exhausted, even when no static threshold has been crossed.
  • Correlating JVM pause spikes with session expirations, connection drops, and leader elections on a single timeline shows whether the pauses are bad enough to be expiring sessions and triggering elections.
  • zk_uptime resets are surfaced as anomalous events, which catches silent OOMKill restarts that would otherwise look like normal rolling maintenance.