Consumers and CLI commands can be monitored.
The consumers and CLI command monitoring data can be displayed toggling the Web/CLI dropdown.
Instrumentation of CLI commands and consumers needs to be manually triggered:
1 2 3 4 5 6
// As of Blackfire PHP Probe 1.78.0 \BlackfireProbe::startTransaction('My CLI command'); // code \BlackfireProbe::stopTransaction();
1 2 3 4 5 6 7 8 9
from blackfire import apm # As of Blackfire Python Probe 1.6.1 apm.start_transaction() apm.set_transaction_name('My CLI command') # code apm.stop_transaction()
CLI transactions should be manually named either before, during, or after the Instrumentation.
Blackfire supports a number of native integrations with third-party tools. Please check their dedicated documentation: