New Relic monitoring

New Relic connects and monitors your infrastructure and Commerce application using PHP agents. After a Cloud environment connects to New Relic, you can log in to your New Relic account to review the data collected by the agent.

On the APM & Services page, select the Summary to view transactional information about your application. This view helps you identify potential failures and check the overall health of your application and services.

Cloud project New Relic overview page

From this view, you can track transactions encountering slow responses or bottlenecks, application throughput, web errors, and more.

Review tracked data:

  • Most time consuming—Determine time consumption by tracking requests in parallel. For example, you may have the highest transaction time spent in product and category views. If a customer account page suddenly ranks high in time consumption, your application might be affected by a call or query-dragging performance.

  • Highest throughput—Identify pages hit the most based on the size and frequency of bytes transmitted.

All collected data details the time spent on actions that transmit data, queries, or Redis data. If queries cause issues, New Relic provides information to track and respond to those issues.

TIP
For details on using this data to troubleshoot application performance issues, see Troubleshoot performance using New Relic in the Adobe Commerce Help Center.

Monitor performance with Managed Alerts

Adobe provides the Managed Alerts for Adobe Commerce alert policy to track performance metrics. The policy includes a collection of alerts that set thresholds and trigger warning and critical notifications when infrastructure or application issues affect site performance. The policy tracks the following metrics on Production environments:

Metric
Data collection
Availability
Apdex score
APM
Pro and Starter
CPU usage
NRI
Pro
Disk space
NRI
Pro
Error rate
APM
Pro and Starter
Memory usage
NRI
Pro
MariaDB query load
NRI
Pro
Redis memory
NRI
Pro

When site infrastructure or application conditions trigger an alert threshold, New Relic sends alert notifications so that you can proactively address the issue. See Managed Alerts for Adobe Commerce in the Adobe Commerce Help Center for details about alert thresholds and troubleshooting steps to resolve the issues that triggered the alert.

TIP
For Pro Staging and integration environments and Starter environments, use Health notifications to monitor disk space.
PREREQUISITES
  • New Relic credentials—Credentials to log in to the New Relic account for your Cloud project
  • Active New Relic integration—Verify that your Cloud environment is connected to New Relic
  • Workflow notification—Configure at least one workflow to receive the alert notifications

To review the Managed Alerts for Adobe Commerce policy:

  1. Log in to your New Relic account.

  2. Locate the Managed Alerts for Adobe Commerce policy:

    • In the Explorer navigation menu, click Alerts & AI.

    • Under Detect, click Alert Conditions & Policies.

    • Verify that your Account is selected at the top of the Alert Conditions & Policies view.

    • In the Policy list, select Managed Alerts for Adobe Commerce policy.

      Generated alert policies

      note note
      NOTE
      If the Managed Alerts for Adobe Commerce policy is not available, see Managed Alerts for Adobe Commerce in the Adobe Commerce Help Center.
  3. Click the Alert conditions tab to review the alert conditions defined in the policy.

Create alert policies

Do not modify any alerts included in the Managed Alerts for Adobe Commerce policy. Adobe updates and improves the alert conditions in this policy over time, which overwrites any customizations you add to the policy.

Instead of modifying an existing alert, you can create an alert policy. Then, copy the alert conditions to the new policy. See Update policies or conditions in the New Relic documentation.

TIP
See Introduction to alerts in the New Relic documentation for more detailed information about Alerts, alert policies, and workflows.

Set up a workflow for notifications

You can now set up a workflow, formerly called a notification channel, to receive notifications about your site performance based on filtered data, such as an alert policy. Notifications about performance issues go to all workflows associated with an alert policy when conditions on the application or infrastructure trigger an alert. You also receive notifications when an issue is acknowledged and closed.

New Relic provides templates for configuring different types of workflow notifications, including email, Slack, PagerDuty, webhooks, and more.

To configure a workflow:

  1. Log in to your New Relic account.

  2. Create a workflow.

    • In the Explorer navigation menu, click Alerts & AI.

    • In the left navigation under Enrich & Notify, click Workflows.

    • Click Add a workflow on the right-hand side.

      New Relic add a workflow

    • On the Configure your workflow page, enter a name for the workflow.

    • In the Filter data section, select Managed Alerts for Adobe Commerce from the Policy drop-down list.

    • In the Notify section, select a channel and follow the instructions.

    • Click Test workflow to verify your configuration.

  3. Click Activate workflow.

See the New Relic documentation about Workflows.

WARNING
The alerts in the Managed Alerts for Adobe Commerce policy have default workflows configured to notify Adobe teams that support Adobe Commerce on cloud infrastructure customers. Do not modify the configuration for these default channels, and do not remove any alert policies assigned to them.
05f2f56e-ac5d-4931-8cdb-764e60e16f26