PHPackages                             graycore/new-relic-graph-ql - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. graycore/new-relic-graph-ql

AbandonedArchivedMagento2-module[Logging &amp; Monitoring](/categories/logging)

graycore/new-relic-graph-ql
===========================

Create custom events for every graphQl query and mutation in magento 2

01PHP

Since Dec 3Pushed 4y ago2 watchersCompare

[ Source](https://github.com/graycoreio/new-relic-graph-ql)[ Packagist](https://packagist.org/packages/graycore/new-relic-graph-ql)[ RSS](/packages/graycore-new-relic-graph-ql/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

New Relic GraphQl
=================

[](#new-relic-graphql)

Purpose
-------

[](#purpose)

This module intends to create [custom event data](https://docs.newrelic.com/docs/data-apis/custom-data/custom-events/apm-report-custom-events-attributes/) 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
-------

[](#details)

This module depends on [Magento 2 - Automatic GraphQL transaction naming for New Relic](https://github.com/joma-webdevs/automatic-graphql-transaction-naming-for-new-relic) from [joma-webdevs](https://github.com/joma-webdevs) to extract query details, as a side effect it will add to the [APM transaction](https://docs.newrelic.com/docs/apm/transactions/intro-transactions/transactions-new-relic-apm/) 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
---------------

[](#getting-started)

This module is intended to be installed with [composer](https://getcomposer.org/). From the root of your Magento 2 project:

1. Download the package

```
composer require graycore/new-relic-graph-ql
```

2. Enable the package

```
./bin/magento module:enable Graycore_NewRelicGraphQl
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/cede4d8ff3624bd4e509cebd8a3da9abada797eb8e0737c6db26097fce82e67e?d=identicon)[damienwebdev](/maintainers/damienwebdev)

---

Top Contributors

[![MateusDadalto](https://avatars.githubusercontent.com/u/25828351?v=4)](https://github.com/MateusDadalto "MateusDadalto (10 commits)")

### Embed Badge

![Health badge](/badges/graycore-new-relic-graph-ql/health.svg)

```
[![Health](https://phpackages.com/badges/graycore-new-relic-graph-ql/health.svg)](https://phpackages.com/packages/graycore-new-relic-graph-ql)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.1k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M93](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M137](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
