Skip to content

Commit 381f5d1

Browse files
authored
Add NR transaction name to graphql requests
Fix - #36112 So many other transactions are properly named without having the `newrelicreporting/general/enable=1` flag set. - cron jobs - controllers - rest API Having to enable this new relic reporting module to get GraphQL transaction names seems like a bit of an oversight
1 parent 28c7f79 commit 381f5d1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/code/Magento/GraphQl/Model/Query/Logger/NewRelic.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ public function __construct(
4141
*/
4242
public function execute(array $queryDetails)
4343
{
44-
if (!$this->config->isNewRelicEnabled()) {
45-
return;
46-
}
47-
4844
foreach ($queryDetails as $key => $value) {
4945
$this->newRelicWrapper->addCustomParameter($key, $value);
5046
}

0 commit comments

Comments
 (0)