Yes. APM Insight captures detailed traces for slow transactions, helping you analyze where time is spent (database calls, external services, application code, etc.).
Prerequisites for Trace Capture
1. Enable Transaction Tracing: Ensure the "Enable transaction tracing" option is enabled in your APM Insight Application or Instance associated Agent Configuration profile.
- Navigate to the APM → Your APM Insight Application or Instance → Monitor Actions → Edit → APM Insight Agent Configuration Profile → Edit(pencil icon)
- Under Web Transaction Configurations, verify "Enable transaction tracing" (Enabled by default) is checked
- Under Background Transactions Configurations, verify "Capture traces" is checked
2. Set the Transaction Trace Threshold: Configure the "Transaction tracing threshold" option (in seconds). Traces will be generated for any transaction that takes longer than the specified threshold.
- Navigate to the APM → Your APM Insight Application or Instance → Monitor Actions → Edit → APM Insight Agent Configuration Profile → Edit(pencil icon)
- Under Web Transaction Configurations, configure "Transaction tracing threshold" (default - 5 seconds) accordingly
- Under Background Transactions Configurations, configure "Transaction Trace Threshold" accordingly
Important: If your transactions respond faster than the configured threshold, traces will NOT be captured. Adjust this value based on your application's typical response times.
Example configurations:
- For fast microservices (50-200ms response): Set threshold to 0.1 seconds
- For typical web applications (200-500ms): Set threshold to 0.5 seconds
- For slower enterprise applications: Use default or higher values
Where to View Traces
- Traces Tab: Navigate to the APM → Your APM Insight Application or Instance → Traces tab - to view all captured Transaction traces with details including response time, SQL time, CPU time, external calls, and exceptions
- Top Slow Traces: Navigate to the APM → Your APM Insight Application or Instance → Overview tab → Top 5 slow traces
- On the AppManager server: Trace files are stored in the directory - `<APPMANAGER_HOME>/working/apminsight/traces`
References