On this page:
Accessing Transaction Detection
- From the left navigation pane select Configuration > Instrumentation.
- Click the Transaction Detection tab if it is not already selected.
- Click the Python -Transaction Detection subtab.
- Do one of the following:
- To configure transaction detection at the application level, in the left panel select the application.
If you select the application, you can optionally click the button to configure all tiers to use the application-level configuration.
- To configure transaction detection at the tier level, in the left panel select the tier for which you want to configure transaction detection.
You can choose the button to apply the application configuration to the selected tier or the button to create a custom configuration just for this tier.
Python Web Entry Point
Currently the Python Agent detects all Python WSGI entry points as Python Web.
The entry point is where the business transaction begins.
To enable transaction monitoring check the Transaction Monitoring check box. You can disable monitoring at any time by clearing this check box.
For Python Web entry points to be automatically detected, check the Automatic Transaction Detection check box.
Both Transaction Monitoring and Automatic Transaction Detection have to be enabled for the agent to collect metrics for business transactions.
If you disable automatic detection for a specific entry point type for which you have been detecting transactions (by clearing the Discover Transactions automatically check box), the agent will stop collecting metrics for transactions of those entry point types. It will also stop detecting new transactions of those types.
But the transactions that the agent has already detected will still appear in the transaction list, with metrics no longer being reported, unless you have explicitly deleted them from the list. You can delete transactions from the business transactions list using the More Actions > Delete Transactions item
Configure Python Web Transaction Naming
By default, the agent names the Python Web business transactions based on the first two segments of the URI.
You can modify the naming convention by clicking Configure Naming in the Python Web row of the Entry Points table.
You can change the naming to use the full URI or to use different segments of the URI. You can also configure dynamic transaction naming using different parts of the user request. See Configure PHP Web Transaction Naming for some simple examples that are also valid for Python transaction naming.