Naming Transactions

Blackfire Monitoring supports all PHP applications. The support for Symfony, Magento (1 & 2), Drupal, Prestashop 1.7+, and Ibexa DXP is extended out-of-the-box.

For supported frameworks, Blackfire automatically detects the controller that handles each URL/transaction. The transactions are listed by controllers to ease focusing on the code parts which have the highest overall resource consumption impact.

When Blackfire is not able to automatically detect transaction names, it groups them in a virtual transaction named “Unnamed transactions”.

You can programmatically set transaction names using the snippet below:

// As of Blackfire PHP Probe 1.44.0

Ignoring Transactions

In some cases, you might not want Blackfire to instrument some transactions. You can programmatically ignore them using the ignoreTransaction() mehod:

// As of Blackfire PHP Probe 1.57.0