Microsoft has launched the Azure Performance Diagnostics Tool for Java in preview, integrated into the Azure SRE Agent platform. It automatically diagnoses JVM performance issues—including garbage collection inefficiencies, CPU utilization problems, excessive I/O, and thread contention—for Java workloads running on Azure Kubernetes Service (AKS). The tool works by spinning up an ephemeral container inside the target pod, collecting telemetry via Java Flight Recorder (JFR), and generating actionable insights without service disruption. Setup requires adding a `languageStack=java` annotation to pods. Users can also build custom Sub-Agents using a YAML configuration to tailor diagnostic workflows and integrate them with alert responses.

5m read timeFrom devblogs.microsoft.com
Post cover image
Table of contents
What is Azure Performance Diagnostics Tool for Java via Azure SRE Agent? Copy linkHow Does It Work? Copy linkGetting Started Copy linkBuild your own Sub-Agent Copy link

Sort: