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.
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.
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:
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.
- 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:
-
Log in to your New Relic account.
-
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.
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.
-
-
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.
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:
-
Log in to your New Relic account.
-
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.
-
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.
-
-
Click Activate workflow.
See the New Relic documentation about Workflows.