dani97 / blackfire-graph-ql
Magento 2 GraphQl Blackfire Profiler Helper. Note: Not meant for production
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.3.0||~7.4.0
- blackfire/php-sdk: *
- magento/framework: *
- magento/module-graph-ql: *
README
Description
A helper module to profile GraphQl requests in magento2. Not intended for production usage. Production use blackfire player.
Blackfire Header
To profile we need to add additional header to our request. The header should start with X- eg. X-Blackfire.
Installation and Setup
- Signup for blackfire if you haven't done already.
- Install blackfire in the environment by following the official guide
- Install this extension using
composer require dani97/blackfire-graph-ql
- Add Blackfire client configuration and blackfire header in Admin -> Configuration -> Blackfire GraphQl
- From graphql client add blackfire header to profile request.
Supported versions:
- Magento 2.3
- Magento 2.4
See composer.json
for other requirements.