Can I view the trace of a web transaction that consumes more response time?

Can I view the trace of a web transaction that consumes more response time?

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.
  1. Navigate to the APM → Your APM Insight Application or Instance → Monitor Actions → Edit → APM Insight Agent Configuration Profile → Edit(pencil icon)
  2. Under Web Transaction Configurations, verify "Enable transaction tracing" (Enabled by default) is checked
  3. 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.
  1. Navigate to the APM → Your APM Insight Application or Instance → Monitor Actions → Edit → APM Insight Agent Configuration Profile → Edit(pencil icon)
  2. Under Web Transaction Configurations, configure "Transaction tracing threshold" (default - 5 seconds) accordingly
  3. Under Background Transactions Configurations, configure "Transaction Trace Threshold" accordingly 
Warning
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:
  1. For fast microservices (50-200ms response): Set threshold to 0.1 seconds
  2. For typical web applications (200-500ms): Set threshold to 0.5 seconds
  3. For slower enterprise applications: Use default or higher values

Where to View Traces

  1. 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
  2. Top Slow Traces: Navigate to the APM → Your APM Insight Application or Instance → Overview tab → Top 5 slow traces
  3. On the AppManager server: Trace files are stored in the directory - `<APPMANAGER_HOME>/working/apminsight/traces`

References