On this page:
Automatic injection uses AppDynamics server-side agents to automatically add the adrum header and footer to each of your web pages.
Automatic injection is available only for server-side applications built on Jasper-supported JSP (Java), ASP.NET, or ASPX (.NET) frameworks.
From the Business Transaction Correlation, check the Enable Business Transaction Correlation check box to correlate Pages and AJAX requests with server-side business transactions.
You can also specify which business transactions will include or exclude correlation headers. If you do not add request match rules or request exclude rules, correlation headers will be added to all requests.
To add a request rule:
After you have enabled automatic injection:
Use these rules to fine-tune which business transactions to include or exclude from injection based on match criteria. For example, you can exclude all business transactions that have a certain string in their URLs or set a certain cookie. The configurations for include rules and exclude rules are similar. It depends on your situation whether it is more convenient to restrict transactions based on inclusion or exclusion.
You must select at least one business transaction for automatic injection.
Set Attribute to Enable Automatic Injection for .NET
To perform automatic injection for .NET, the AppDynamics app agent detects the
<head> element in the
aspx page. This should be part of either the master page or the aspx page.
<head> element must have the 'runat="server"' attribute set for automatic injection to work.
This is not necessary for manual or assisted injection.
You may not wish to instrument every page in your application. For example, if your application has a very large number of pages, you might want to instrument only the key ones for your business, to avoid hitting licensing limits. Or when you are in the setup and test phase, you might only want to instrument a few pages to keep your initial sample manageable.
Use match rules to include or exclude certain pages:
You can later edit or remove a match rule by selecting it in the list and clicking the edit or delete icon.
If you are using thein your installation, automatic injection is not supported, even if you are using a supported framework.