begin_transaction() function is used to start a new transaction.
For supported frameworks, Atatus Python agent will automatically capture the transactions.
This function can be used to instrument unsupported frameworks or background operations.
Python Agent API
Begin transaction in Python APM
Learn about how to start a transaction in the Python APM agent, monitor your python application performance and detect python errors easily.