Parts of a Script are Business Transactions
If you have a long PHP script application that performs a number of discrete tasks, but you
want the agent to detect only one or more of them as business transactions, enclose the code
for each of those tasks within appdynamics_start_transaction()
and
appdynamics_end_transaction()
calls. The agent detects those blocks as
separate business transactions. Otherwise, the agent detects the entire script as a single
business transaction.