PHP API allows you to manage all instrumentations. Before starting, ensure that Atatus agent is available in the code.
copy
<?php
if (extension_loaded('atatus')) {
// Atatus PHP Agent API call
}
For an introduction to this API, view all methods.
- atatus_begin_transaction()
- atatus_end_transaction()
- atatus_ignore_transaction()
- set_transaction_name()
- atatus_set_background_transaction()
- atatus_add_custom_layer()
- atatus_add_custom_data()
- atatus_notify_exception()
- atatus_set_user()
- atatus_set_company()
- atatus_set_request_body()
- atatus_set_response_body()