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 / tomcat / tomcat-outofmemoryerror-unable-to-create-new-native-thread ▌

Operations Guides

Tomcat OutOfMemoryError: unable to create new native thread: the JVM can't spawn threads

When Tomcat throws java.lang.OutOfMemoryError: unable to create new native thread, do not reach for heap dumps or GC tuning. This is not a heap problem. The JVM called pthread_create and the kernel refused. The heap can be 20% full when this fires.

Heap OOMs need -Xmx increases, leak hunting, or GC tuning. Native thread OOMs need ulimit -u increases, cgroup pids.max adjustments, -Xss tuning, or finding the code that creates threads without bound.

Each Java thread reserves roughly 512KB to 1MB of off-heap memory for its stack on 64-bit Linux (default ThreadStackSize=1024 KB on JDK 21). A few thousand threads consume gigabytes of RSS before heap pressure registers. A Tomcat with -Xmx2g can be OOM-killed at 4GB RSS with no heap pressure at all.

On JDK 9 and later, the error string instead reads unable to create native thread: possibly out of memory or process/resource limits reached; on JDK 8 and earlier it is unable to create new native thread. The diagnosis is the same.

What this means

The JVM creates threads by calling pthread_create. That call can fail for several reasons, and the error message does not tell you which one:

  1. Process/thread limit (ulimit -u / nproc): the user hit the RLIMIT_NPROC ceiling. On RHEL/CentOS 5-7 the default soft nproc for non-root users is 1024; RHEL 8+ ships no default nproc limit, so check ulimit -u rather than assuming 1024. The kernel refuses because the process already owns too many tasks.
  2. Memory for thread stacks: the process has run out of address space or RSS budget for another stack. Each thread needs ThreadStackSize bytes (default 1024 KB on 64-bit Linux, configurable via -Xss).
  3. cgroup pids.max: in containers (Docker, Kubernetes), the pids cgroup controller caps the number of tasks per cgroup. Docker itself applies no default pids limit (unlimited unless configured); a ceiling such as 4096 comes from your runtime or orchestrator configuration.
  4. System-wide limits: /proc/sys/kernel/threads-max and /proc/sys/kernel/pid_max cap total tasks across the whole kernel. The effective limit is the minimum of the two.
  5. Native memory leak starving stack allocation: an off-heap leak (the JDK 21.0.3+ C2 compiler arena leak is the current headline example) can consume RSS until the JVM can no longer allocate thread stacks, even when thread count is modest.

The heap is not involved. Adding -Xmx does nothing. Identify which ceiling was hit, then raise the ceiling or stop the leak.

flowchart TD
    A["OOM: unable to create new native thread"] --> B{"Thread count plateaued?"}
    B -- "Yes, near nproc limit" --> C["ulimit -u / nproc"]
    B -- "Yes, near pids.max in container" --> D["cgroup pids.max"]
    B -- "Yes, near threads-max or pid_max" --> E["System-wide limit"]
    B -- "No, still climbing" --> F["Thread leak"]
    B -- "Count normal, RSS climbing" --> G["Stack memory or native leak"]
    G --> H{"JDK 21.0.3 to 21.0.6?"}
    H -- "Yes" --> I["Suspect C2 leak, run VM.native_memory"]
    H -- "No" --> J["Check ThreadStackSize vs RSS budget"]

Common causes

CauseWhat it looks likeFirst thing to check
ulimit -u (nproc) hitTomcat runs as non-root; thread count plateaus near the nproc limit (commonly 1024 on RHEL/CentOS 5-7)ulimit -u in the Tomcat shell, LimitNPROC in the systemd unit
cgroup pids.max hitRuns in a container; thread count plateaus near the configured pids.maxcat /sys/fs/cgroup/pids.max and pids.current
Stack memory exhaustionRSS climbing toward container or host limit; thread count high but stableThreadStackSize via java -XX:+PrintFlagsFinal; RSS vs memory limit
Thread leakThreadCount climbing monotonically in JMX; jstack shows growing pool-N threadsjstack <pid> taken twice, 30s apart
Off-heap native leak (JDK 21.0.3+ C2 bug)RSS grows without thread growth; affects JDK 21.0.3 to 21.0.6, 23, 24jcmd <pid> VM.native_memory summary (requires -XX:NativeMemoryTracking=summary); java -version

Quick checks

# Process thread limit (RLIMIT_NPROC) for the current shell
ulimit -u

# System-wide thread and PID ceilings
cat /proc/sys/kernel/threads-max
cat /proc/sys/kernel/pid_max

# cgroup pids limit and current usage (cgroup v2)
cat /sys/fs/cgroup/pids.max 2>/dev/null
cat /sys/fs/cgroup/pids.current 2>/dev/null
# cgroup v1 equivalent
cat /sys/fs/cgroup/pids/pids.max 2>/dev/null

# Current thread count of the Tomcat process
TOMCAT_PID=$(pgrep -f 'org.apache.catalina.startup.Bootstrap')
ls /proc/$TOMCAT_PID/task | wc -l

# Process RLIMIT from proc (works when you cannot attach a shell as the user)
grep -E 'Max processes|Threads' /proc/$TOMCAT_PID/limits

# JVM thread stack size (default 1024 KB on 64-bit Linux, JDK 21)
java -XX:+PrintFlagsFinal -version 2>&1 | grep ThreadStackSize

# Count live threads via the JVM
jcmd $TOMCAT_PID Thread.print | grep -c '"'

# Check the kernel log for OOM kills (requires root or CAP_SYSLOG)
dmesg -T | grep -iE 'oom|killed process' | tail

How to diagnose it

  1. Capture a thread dump before doing anything else. The dump is the evidence. If the JVM is still alive, grab two dumps 30 seconds apart:

    TOMCAT_PID=$(pgrep -f 'org.apache.catalina.startup.Bootstrap')
    
    jstack $TOMCAT_PID > /tmp/threads_1.txt
    sleep 30
    jstack $TOMCAT_PID > /tmp/threads_2.txt
    diff <(grep -oE '"[^"]+"' /tmp/threads_1.txt | sort) \
         <(grep -oE '"[^"]+"' /tmp/threads_2.txt | sort) | head
    
  2. Determine which ceiling was hit. Compare the current thread count (ls /proc/$TOMCAT_PID/task | wc -l) against every limit. The plateau value tells you the cause:

    • Near the nproc limit (e.g. 1024 on RHEL/CentOS 5-7) and runs as non-root: ulimit -u.
    • Near the container’s pids.max (commonly 4096): pids.max.
    • Near /proc/sys/kernel/threads-max or pid_max: system-wide limit.
    • No plateau, still climbing: thread leak.
  3. Count threads by name pattern. A thread dump makes the leak source obvious:

    # Tomcat worker threads
    grep -c 'http-nio' /tmp/threads_1.txt
    # Application-created pool threads
    grep -c 'pool-' /tmp/threads_1.txt
    # Scheduled or timer threads
    grep -cE 'Scheduled|Timer' /tmp/threads_1.txt
    

    Tomcat’s own workers cap at maxThreads (default 200) plus internal threads. If you see thousands of pool-N-thread-M names, the application is the leak.

  4. Check RSS against the container memory limit. If thread count is not the binding limit, the cause may be stack memory exhaustion:

    grep VmRSS /proc/$TOMCAT_PID/status
    # Container memory limit (cgroup v2)
    cat /sys/fs/cgroup/memory.max 2>/dev/null
    # cgroup v1 equivalent
    cat /sys/fs/cgroup/memory/memory.limit_in_bytes 2>/dev/null
    

    Approximate stack cost: thread_count multiplied by ThreadStackSize. 4000 threads at 1MB each is 4GB of off-heap memory.

  5. Check the JDK version if RSS is climbing without thread growth. A C2 compiler arena leak (OpenJDK bug JDK-8343322, root cause JDK-8340824) affects JDK 21.0.3 through 21.0.6 and JDK 23 and 24. It presents as RSS growing into multiple gigabytes with -Xmx as low as 1GB, eventually triggering the native thread error when the JVM can no longer allocate stacks. Confirm with:

    java -version
    jcmd $TOMCAT_PID VM.native_memory summary
    

    Look for the Compiler section growing without bound. Native memory tracking must be enabled at JVM startup (-XX:NativeMemoryTracking=summary) for this command to work. If NMT is not enabled, there is no way to enable it at runtime; restart the JVM with the flag. The leak is fixed in JDK 21.0.7 (backport of JDK-8340824); JDK 21.0.6 does not include the fix, so upgrade to 21.0.7 or later.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
JVM ThreadCount (JMX java.lang:type=Threading)Monotonic growth is the thread leak signatureClimbing without plateau; PeakThreadCount far above expected baseline
currentThreadsBusy and maxThreads (connector bean)Separates connector saturation from total thread growthAt 100% busy while total ThreadCount is normal: connector problem, not a leak
Process thread count (/proc/<pid>/task)Ground truth from the kernel, includes daemon and native threadsPlateaus at a round number: you hit a limit
RSS vs container or host memoryThread stacks live off-heap; RSS tracks themRSS climbing while heap is flat
cgroup pids.current vs pids.maxThe binding limit in containerspids.current approaching pids.max
dmesg OOM killer eventsConfirms the OS killed the process for memoryoom-kill or Killed process lines referencing the Tomcat PID

Fixes

Raise the process/thread limit

If the plateau is at ulimit -u, raise it. For a systemd-managed Tomcat, set it in the unit file:

[Service]
LimitNPROC=16384

For non-systemd setups, edit /etc/security/limits.d/ (for example, a file like 90-nproc.conf):

tomcat  soft  nproc  16384
tomcat  hard  nproc  16384

PAM limits only apply to login sessions. systemd services need LimitNPROC. Verify after restart with grep 'Max processes' /proc/$TOMCAT_PID/limits.

Raise the cgroup pids limit

In Docker, pass --pids-limit at run time (use --pids-limit=-1 for unlimited, or pick a number that fits your workload). In Kubernetes, set the pod-level pids limit or the kubelet --pod-pids-limit. A configured pids limit of 4096 is often too low for a Tomcat with maxThreads=200 plus internal thread pools; Docker itself applies no default, so the ceiling comes from your runtime or orchestrator config. Verify with cat /sys/fs/cgroup/pids.max from inside the container.

Reduce thread stack size

If RSS is the binding constraint and the thread count is legitimately high (for example, a large thread pool or a workload migrating toward virtual threads), lowering -Xss reduces per-thread cost. The default is 1024 KB. Not every workload needs that much stack:

-Xss512k

Measure before and after. Deep recursion or large frame sizes will produce StackOverflowError if -Xss is too small. The JDK 14+ flag -XX:+AdjustStackSizeForTLS (disabled by default, Linux only) accounts for glibc on-stack TLS allocation that otherwise eats into the requested stack size.

Fix the thread leak

Raising limits buys time, not a fix. Find the unbounded thread creator. Common offenders in Tomcat applications:

  • Executors.newCachedThreadPool() with no upper bound and a caller that submits work per request.
  • new Thread() instances started in request scope without a pool.
  • @Scheduled tasks on Spring’s default scheduler that accumulate across hot redeploys.
  • java.util.Timer instances created per request or per session.
  • HTTP clients that create a thread or connection per call without pooling.

Count threads by name in the dump. A growing pool-N-thread-M family points at an ExecutorService creating threads without reusing them. A growing set of HTTP client threads points at a client library with no connection pool.

Handle the JDK 21.0.3+ C2 leak

If the JDK is 21.0.3 through 21.0.6, 23, or 24, and VM.native_memory summary shows the Compiler arena growing into gigabytes, the C2 JIT is the leak. The leak (root cause JDK-8340824) is fixed in JDK 21.0.7, JDK 23.0.2, and JDK 24; upgrading to a fixed release is the durable fix. Workaround options: downgrade to JDK 21.0.2, switch to JDK 17 LTS, or temporarily disable C2 with -XX:TieredStopAtLevel=1 (this sacrifices peak throughput and is not recommended for production beyond a stopgap).

Prevention

  • Monitor ThreadCount from java.lang:type=Threading and alert on monotonic growth. A healthy Tomcat holds a stable count: maxThreads plus GC, JIT, and internal threads, roughly 250 to 300 for a default configuration.
  • Set LimitNPROC explicitly in the systemd unit. Do not rely on inherited defaults, especially for non-root Tomcat users.
  • Set --pids-limit deliberately in containers. Docker’s default is unlimited, so a 4096 ceiling configured by your platform can be a surprise under load.
  • Bound every ExecutorService the application creates. newCachedThreadPool is almost never the right choice for request-scoped work.
  • Set -Xss explicitly rather than relying on the JVM default, so the per-thread memory cost is known and reproducible.
  • Track RSS alongside heap. A flat heap with climbing RSS is the signature of off-heap growth, whether from thread stacks, Metaspace, direct buffers, or native leaks.
  • Pin the JDK version and track OpenJDK bug fixes. The C2 leak in 21.0.3+ affected production deployments for months before it was widely diagnosed.

How Netdata helps

  • JVM ThreadCount and PeakThreadCount from java.lang:type=Threading expose thread leaks at per-second resolution, so you see the climb before it hits the ceiling.
  • currentThreadsBusy and maxThreads from the Tomcat connector bean separate connector saturation from a general thread leak, so you do not chase the wrong root cause.
  • cgroup pids.current and pids.max surface the container limit directly, so you can see the plateau before the OOM fires.
  • RSS and cgroup memory metrics let you correlate off-heap growth (thread stacks, native allocations) with thread count, distinguishing stack memory exhaustion from a count limit.
  • ML anomaly detection on thread count flags monotonic growth even when the absolute count is below any configured limit.
  • dmesg OOM killer events appear alongside the JVM metrics, confirming when the OS killed the process rather than the JVM exiting on its own.