Configure Agent Injection

3 minutes  

In this exercise you will complete the following tasks:

  • Enable JavaScript Agent injection.
  • Select Business Transactions for injection.

Enable JavaScript Agent injection

While AppDynamics supports various methods for injecting the JavaScript Agent, you will be using the Auto-Injection method in this lab. Follow these steps to enable the Auto-Injection of the JavaScipt Agent.

  1. Click the Applications tab on the left menu and drill into your Supercar-Trader-## application.
  2. Click the Configuration tab on the left menu at the bottom.
  3. Click the User Experience App Integration option.

BRUM Dash 1 BRUM Dash 1

  1. Click the JavaScript Agent Injection tab.
  2. Click Enable so that it turns blue.
  3. Ensure that Supercar-Trader-Web-##-#### is the selected browser app. Choose the application that you created in the previous section
  4. Check the Enable check box under Enable JavaScript Injection
  5. Click Save.

BRUM Dash 2 BRUM Dash 2

It takes a few minutes for the Auto-Injection to discover potential Business Transactions. While this is happening, use these steps to enable the Business Transaction Correlation. For newer APM agents this is done automatically

  1. Click the Business Transaction Correlation tab.
  2. Click the Enable button under the Manually Enable Business Transactions section.
  3. Click Save.

BRUM Dash 3 BRUM Dash 3

Select Business Transactions for injection

Use the following steps to select the Business Transactions for Auto-Injection.

  1. Click the JavaScript Agent Injection tab.
  2. Type .do in the search box.
  3. Click the Refresh List link for the Business Transactions until all 9 BTs show up.
  4. Select all Business Transactions from the right list box.
  5. Click the arrow button to move them to the left list box.
  6. Ensure that all Business Transactions are moved into the left list box.
  7. Click Save.

You can read more about configuring Automatic Injection of the JavaScript Agent here.

BRUM Dash 5 BRUM Dash 5

Wait a few minutes for load to start showing up in your Browser Application.