You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
2.8 KiB

  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  9. <type name="Magento\NewRelicReporting\Model\Module\Collect">
  10. <arguments>
  11. <argument name="fullModuleList" xsi:type="object">Magento\Framework\Module\FullModuleList</argument>
  12. </arguments>
  13. </type>
  14. <type name="Magento\Config\Model\Config\TypePool">
  15. <arguments>
  16. <argument name="sensitive" xsi:type="array">
  17. <item name="newrelicreporting/general/account_id" xsi:type="string">1</item>
  18. <item name="newrelicreporting/general/app_id" xsi:type="string">1</item>
  19. <item name="newrelicreporting/general/api" xsi:type="string">1</item>
  20. <item name="newrelicreporting/general/insights_insert_key" xsi:type="string">1</item>
  21. <item name="newrelicreporting/general/insights_api_url" xsi:type="string">1</item>
  22. <item name="newrelicreporting/general/api_url" xsi:type="string">1</item>
  23. </argument>
  24. <argument name="environment" xsi:type="array">
  25. <item name="newrelicreporting/general/api_url" xsi:type="string">1</item>
  26. <item name="newrelicreporting/general/insights_api_url" xsi:type="string">1</item>
  27. </argument>
  28. </arguments>
  29. </type>
  30. <type name="Magento\Framework\App\Http">
  31. <plugin name="framework-http-newrelic" type="Magento\NewRelicReporting\Plugin\HttpPlugin"/>
  32. </type>
  33. <type name="Magento\Framework\App\State">
  34. <plugin name="framework-state-newrelic" type="Magento\NewRelicReporting\Plugin\StatePlugin"/>
  35. </type>
  36. <type name="Magento\Framework\Console\CommandListInterface">
  37. <arguments>
  38. <argument name="commands" xsi:type="array">
  39. <item name="newrelicreporting_deploy_marker" xsi:type="object">Magento\NewRelicReporting\Console\Command\DeployMarker</item>
  40. </argument>
  41. </arguments>
  42. </type>
  43. <type name="Symfony\Component\Console\Command\Command">
  44. <plugin name="newrelic-describe-commands" type="Magento\NewRelicReporting\Plugin\CommandPlugin"/>
  45. </type>
  46. <type name="Magento\Framework\Profiler\Driver\Standard\Stat">
  47. <plugin name="newrelic-describe-cronjobs" type="Magento\NewRelicReporting\Plugin\StatPlugin"/>
  48. </type>
  49. <type name="Magento\NewRelicReporting\Plugin\CommandPlugin">
  50. <arguments>
  51. <argument name="skipCommands" xsi:type="array">
  52. <item xsi:type="boolean" name="cron:run">true</item>
  53. </argument>
  54. </arguments>
  55. </type>
  56. </config>