.NETの非同期イグジットポイント
非同期プログラミングパターンではアプリケーションのスケーラビリティと性能を向上させることができます。Microsoft .NETにより、非同期タスクとしてのメソッドの指定が可能になります。
.NET ランタイムは、タスクの完了時に非同期メソッドのリソースを解放します。タスク処理が終了すると、ランタイムは発生元の非同期メソッドにコールバックするため、メソッドは処理を継続する場合があります。
.NET エージェントは、特定の非同期プログラミングパターンをイグジットポイントとして検出します。タスクは並行して実行されるため、Splunk AppDynamics はコントローラに非同期アクティビティを同期アクティビティとは異なる形式で表示することがあります。
Splunk AppDynamics では、.NET 非同期バックエンドトラッキングはスレッド相関と差別化されます。スレッド相関を構成するには、「.NETのスレッドの関連付け」を参照してください。
Troubleshoot Asynchronous Calls in Transaction Snapshots
Transaction snapshots include several features to help you discover problem areas in business transactions that use asynchronous methods. For an overview of transaction snapshots, see Troubleshoot Business Transaction Performance with Transaction Snapshots.
Transaction Snapshot Flow Map
The Transaction Snapshot Flow Map graphically represents the business transaction. It displays the user experience, execution time, and timestamp of the transaction. The flow map also provides details of the overall time that is spent in a particular tier and in database and remote service calls. Theasynclabel indicates asynchronous calls.
Snapshot Execution Waterfall View
The transaction Snapshot Execution Waterfall View shows a timeline representation of the end-to-end execution of the business transaction. Synchronous and asynchronous processes appear on a bar diagram illustrating their relative execution time arranged in chronological order. Synchronous calls are represented by solid line arrows, and asynchronous calls are represented by dotted line arrows.
The waterfall view enables you to visually identify which processes are running the longest. Double-click a bar to drill down to a call graph and investigate problematic code.
Analyze Asynchronous Activity in the Metric Browser
The Metric Browser displays asynchronous activity in the following places:
- Business Transaction Performance > Business Transactions > tier > business transaction > Thread Tasks > Asynchronous Operation > External Calls
- Overall Application Performance >tier> Thread Tasks > Asynchronous Operation > External Calls
- Overall Application Performance >tier > Individual Nodes > node name > Thread Tasks > Asynchronous Operation > External Calls