Skip to content

Commit 1206201

Browse files
committed
ACP2E-3067: Magento discards most New Relic cron transactions #34108
1 parent f650e3f commit 1206201

File tree

1 file changed

+7
-0
lines changed
  • app/code/Magento/NewRelicReporting/etc

1 file changed

+7
-0
lines changed

app/code/Magento/NewRelicReporting/etc/di.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@
4646
<type name="Magento\Framework\Profiler\Driver\Standard\Stat">
4747
<plugin name="newrelic-describe-cronjobs" type="Magento\NewRelicReporting\Plugin\StatPlugin"/>
4848
</type>
49+
<type name="Magento\NewRelicReporting\Plugin\CommandPlugin">
50+
<arguments>
51+
<argument name="skipCommands" xsi:type="array">
52+
<item xsi:type="boolean" name="server:run">true</item>
53+
</argument>
54+
</arguments>
55+
</type>
4956
<type name="Magento\NewRelicReporting\Model\Apm\Deployments">
5057
<arguments>
5158
<argument name="serializer" xsi:type="object">Magento\Framework\Serialize\Serializer\Json</argument>

0 commit comments

Comments
 (0)