Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

89 строки
5.5 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:module:Magento_Config:etc/system_file.xsd">
  9. <system>
  10. <section id="newrelicreporting" translate="label" type="text" sortOrder="1100" showInDefault="1" showInWebsite="1" showInStore="1">
  11. <label>New Relic Reporting</label>
  12. <tab>general</tab>
  13. <resource>Magento_NewRelicReporting::config_newrelicreporting</resource>
  14. <group id="general" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
  15. <label>General</label>
  16. <field id="enable" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  17. <label>Enable New Relic Integration</label>
  18. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  19. </field>
  20. <field id="api_url" translate="label" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  21. <label>New Relic API URL</label>
  22. <depends>
  23. <field id="enable">1</field>
  24. </depends>
  25. </field>
  26. <field id="insights_api_url" translate="label comment" type="text" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  27. <label>Insights API URL</label>
  28. <comment>Use %s to replace the account ID in the URL</comment>
  29. <depends>
  30. <field id="enable">1</field>
  31. </depends>
  32. </field>
  33. <field id="account_id" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
  34. <label>New Relic Account ID</label>
  35. <comment><![CDATA["Need a New Relic account? <a href="http://www.newrelic.com/magento" target="_blank">Click here to get one]]></comment>
  36. <depends>
  37. <field id="enable">1</field>
  38. </depends>
  39. </field>
  40. <field id="app_id" translate="label comment" type="text" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1">
  41. <label>New Relic Application ID</label>
  42. <comment>This can commonly be found at the end of the URL when viewing the APM after "/applications/"</comment>
  43. <depends>
  44. <field id="enable">1</field>
  45. </depends>
  46. </field>
  47. <field id="api" translate="label comment" type="obscure" sortOrder="6" showInDefault="1" showInWebsite="1" showInStore="1">
  48. <label>New Relic API Key</label>
  49. <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
  50. <comment>This is located by navigating to Events -> Deployments from the New Relic APM website</comment>
  51. <depends>
  52. <field id="enable">1</field>
  53. </depends>
  54. </field>
  55. <field id="insights_insert_key" translate="label comment" type="obscure" sortOrder="7" showInDefault="1" showInWebsite="1" showInStore="1">
  56. <label>Insights API Key</label>
  57. <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
  58. <comment>Generated under Insights in Manage data -> API Keys -> Insert Keys</comment>
  59. <depends>
  60. <field id="enable">1</field>
  61. </depends>
  62. </field>
  63. <field id="app_name" translate="label comment" type="text" sortOrder="8" showInDefault="1" showInWebsite="1" showInStore="1">
  64. <label>New Relic Application Name</label>
  65. <comment>This is located by navigating to Settings from the New Relic APM website</comment>
  66. <depends>
  67. <field id="enable">1</field>
  68. </depends>
  69. </field>
  70. <field id="separate_apps" translate="label comment" type="select" sortOrder="9" showInDefault="1" showInWebsite="1" showInStore="1">
  71. <label>Send Adminhtml and Frontend as Separate Apps</label>
  72. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  73. <comment>In addition to the main app (which includes all PHP execution), separate apps for adminhtml and frontend will be created. Requires New Relic Application Name to be set.</comment>
  74. <depends>
  75. <field id="enable">1</field>
  76. </depends>
  77. </field>
  78. </group>
  79. <group id="cron" translate="label" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1">
  80. <label>Cron</label>
  81. <field id="enable_cron" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  82. <label>Enable Cron</label>
  83. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  84. </field>
  85. </group>
  86. </section>
  87. </system>
  88. </config>