dani97/blackfire-graph-ql

Magento 2 GraphQl Blackfire Profiler Helper. Note: Not meant for production

Installs: 32

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.0 2021-05-11 07:58 UTC

This package is auto-updated.

Last update: 2024-04-29 05:05:28 UTC


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.

See also