app/code/Magento/NewRelicReporting/README.md
This module implements integration New Relic APM and New Relic Insights with Magento, giving real-time visibility into business and performance metrics for data-driven decision making.
Before installing this module, note that the Magento_NewRelicReporting is dependent on the following modules:
Magento_StoreMagento_CustomerMagento_BackendMagento_CatalogMagento_ConfigurableProductMagento_ConfigThis module creates the following tables in the database:
reporting_countsreporting_module_statusreporting_ordersreporting_usersreporting_system_updatesFor information about a module installation, see Enable or disable modules.
Extension developers can interact with the Magento_NewRelicReporting module. For more information about the extension mechanism, see Plugins.
The dependency injection mechanism enables you to override the functionality of the Magento_NewRelicReporting module.
Learn more about New Relic Reporting.
Syntax:
bin/magento newrelic:create:deploy-marker <message> [<changelog>] [<user>] [<revision>] [options]
Arguments:
<message> - Required: Deployment description or title[<changelog>] - Optional: Summary of changes in this deployment[<user>] - Optional: User who performed the deployment (defaults to system user)[<revision>] - Optional: Version or revision identifierOptions (NerdGraph enhanced):
--commit="<hash>" - Git commit hash for this deployment--deep-link="<url>" - Deep link to deployment details--group-id="<id>" - Group ID for organizing deploymentsExamples:
Basic usage (works with both APIs):
bin/magento newrelic:create:deploy-marker "Release v1.2.0" "Bug fixes and performance improvements"
With user and revision:
bin/magento newrelic:create:deploy-marker "Release v1.2.0" "Bug fixes and performance improvements" "dev-team" "v1.2.0"
Enhanced usage with NerdGraph options:
bin/magento newrelic:create:deploy-marker "Production Deploy" "Updates and new features" "ops-user" "v1.2.0" \
--commit="abc123def456" \
--deep-link="https://github.com/<company>/<project>/releases/tag/v1.2.0" \
--group-id="production"
Learn more about command's parameters.
The module supports both v2 REST API and the modern NerdGraph GraphQL API for deployment tracking.
Navigate to Stores > Configuration > General > New Relic Reporting, enable New Relic Integration, and select your Deployment API Mode (v2_rest for legacy REST or nerdgraph for modern GraphQL).
When Deployment API Mode is set to nerdgraph, the following options are available:
https://api.newrelic.com/graphqlhttps://api.eu.newrelic.com/graphqlWhen Deployment API Mode is set to v2_rest, configure:
When using NerdGraph mode, the module provides:
Cron group configuration can be set at etc/crontab.xml:
magento_newrelicreporting_cron - runs collecting all new relic reports