Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Preparing your Magento Commerce on Cloud site for the holidays with New Relic

Preparing your Magento Commerce on Cloud site for the holidays with New Relic

Discussing recent changes to the New Relic environment for Magento Commerce on Cloud and how it can help prepare for the holiday season. From Mageconf 2020

Billy Gilbert

October 24, 2020
Tweet

Other Decks in Technology

Transcript

  1. Page | 4 Page | 4 ➔ Introduction ➔ Logs

    ➔ Managed Alerts ➔ Questions Agenda
  2. Page | 5 ➔ Improvements in New Relic to prepare

    for the holidays ➔ Better understand the health of your site ➔ Improve ability to triage issues ➔ Combine data from multiple sources ➔ Pre-built alert system ➔ Steps for resolving site issues Introduction
  3. Page | 8 v ➔ What logs are available? ➔

    System / Service logs (/var/log) ➔ MySQL Slow query ➔ Access Logs ➔ Application logs (~/var/log) ➔ Magento logs ➔ 3rd party extension logs ➔ CDN Logs ➔ All logs through Fastly ➔ Includes WAF details Logs
  4. Page | 14 v Logs ➔ Fastly logs available on

    all projects ➔ System and application logs not available for Starter ➔ Logs UI for sequential logs ➔ Data Explorer for aggregation ➔ Dashboards for quick site health ➔ Additional parsing allows greater aggregation capabilities
  5. Page | 16 Managed Alerts ➔ New Relic alerts rolled

    out to all accounts ➔ Monitoring metrics key to site health ➔ Apdex ➔ CPU utilization ➔ Memory utilization ➔ Disk Space ➔ PHP Error Rates ➔Both warning and critical thresholds ➔Alerts have runbooks to aid troubleshooting
  6. Page | 17 Managed Alerts ➔Notification channels must be created

    ➔ Slack ➔ Webhook ➔ PagerDuty ➔Don’t modify managed alerts, but feel free to replicate ➔Alerts can be created after New Relic is set up for production
  7. Page | 18 v Managed Alerts ➔ Alerts exist under

    policy Managed Alerts for Magento Commerce
  8. Page | 24 Managed Alerts Alert Type Warning Critical PHP

    Error Rate N/A .5% / 15 minutes Apdex < .7 / 30 minutes < .4 / 15 minutes CPU Usage > 50 / 30 minutes > 90 for 15 minutes Memory Usage > 70 / 30 minutes > 96 / 15 minutes Disk Used Ø 70 > 90
  9. Page | 25 v Managed Alerts ➔ Alerting on site

    health KPIs ➔ Warning to catch in advance ➔ Critical to quickly identify outages ➔ Create notification channels ➔ What’s next? Service alerts: ➔ MySQL ➔ Redis
  10. Page | 26 v Conclusion ➔ Logs available in New

    Relic ➔ System, Application, CDN ➔ Add logs to dashboards ➔ Alerts to monitor site health ➔ Create notification channels!!
  11. Page | 27 v • Please create notification channels! •

    Join is in community engineering if you have feedback, #cloud Conclusion (again)
  12. Page | 28 ➔ Managed Alerts for Magento Commerce: https://support.magento.com/hc/en-us/articles/360045806832

    ➔ New Relic Services: https://devdocs.magento.com/cloud/project/new- relic.html ➔ Create Custom Parsing rules: https://docs.newrelic.com/docs/logs/log- management/ui-data/logs-parsing-built-rules-custom-parsing ➔ Introduction to Alerts: https://docs.newrelic.com/docs/alerts-applied- intelligence/new-relic-alerts/get-started/introduction-alerts ➔ Notification Channels: https://docs.newrelic.com/docs/alerts-applied- intelligence/new-relic-alerts/alert-notifications/notification-channels- control-where-send-alerts Helpful Links