How to set up triggers to get diagnostic information from a Java application
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.
This guide provides a basic introduction on how to use the JDK Mission Control tool and is provided as-is. Our support team can help you troubleshoot a specific Confluence problem, but aren't able to help you set up your monitoring system or interpret the results.
Getting diagnostic information on the correct moment is crucial for investigating specific types of issues. Performance-related problems are the most common example, data from the incident window is needed to determine what caused it.
It is possible to set up triggers to generate this type of data (thread dumps, heap dump, or a Java Flight Recording) using a tool called JDK mission control.
The guide below covers how to set such triggers and what is the action taken:
Since Mission Control connects through the JMX interface, it also offers live monitoring capabilities, including CPU usage, memory, and thread activity. It is possible to configure different MBeans to track the application health besides the default ones on the dashboard:
For more details, check the documentation below:
Was this helpful?Yes Provide feedback about this article