Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Add additional features to Magento's native integration with New Relic for GraphQl.

License

Notifications You must be signed in to change notification settings

graycoreio/new-relic-graph-ql

Repository files navigation

New Relic GraphQl

Purpose

This module intends to create custom event data in new relic for every graphQl request made in Magento 2. It will create one event for each root node in the graphQl request.

Details

This module depends on Magento 2 - Automatic GraphQL transaction naming for New Relic from joma-webdevs to extract query details, as a side effect it will add to the APM transaction more GraphQl request data

The event name is GraphQlTransaction and its data has the following structure:

{
    "operation": "Mutation|Query",
    "transactionName": "/GraphQl/Controller/GraphQl\\Query\\country",
    "nodeName": "country"
}

Getting Started

This module is intended to be installed with composer. From the root of your Magento 2 project:

  1. Download the package
composer require graycore/new-relic-graph-ql
  1. Enable the package
./bin/magento module:enable Graycore_NewRelicGraphQl

About

Add additional features to Magento's native integration with New Relic for GraphQl.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages