How to set up triggers to get diagnostic information from a Java application

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

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:

最終更新日: 2021 年 12 月 6 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.