現在、このページは英語版のみです。
 / 
Laravel

Laravel Monitoring

  • Instrument and monitor your Laravel application instantly
  • Interactive dashboards for enhanced performance monitoring
  • Faster problem resolution for your Lavarel PHP applications
  • Set up alerts for your Laravel critical metrics with ease

Get real-time context into your Lavarel PHP applications

New Relic’s Laravel monitoring integration allows you to gain instant visibility into changes in Laravel’s PHP framework key performance indicators. Pinpoint anomalies and bottlenecks and identify the root causes of performance problems swiftly. Whether it's a sudden spike in error rates or a slow-performing database query, you can rely on New Relic’s Lavarel monitoring dashboard to guide you to the source of the issue.

error rate
enhanced performance monitoring

Interactive dashboards for enhanced performance monitoring

  • Instantly visualize your Lavarel performance KPIs
  • Get alerts on spikes in error rates and query response times
  • Customize your Lavarel metric visualizations using SQL
  • Get context into the root cause of your PHP performance issues

Quickstart
Integration Features

dashboards
Laravel quickstart contains 1 dashboard. These interactive visualizations let you easily explore your data, understand context, and resolve problems faster.
Show MoreShow Less

How to use
Laravel quickstart integration

Step 1

Instrument your app

To start monitoring your Laravel app, install the New Relic PHP agent. No matter where your app or service is deployed, you can follow the install path. Supported instrumentation methods include CLI, tar archive, package manager, Docker, Ansible, Chef, and Puppet.

To get a more comprehensive view across your system, including infrastructure and logs, check out the guided install, which auto-discovers your environment and walks you through a recommended setup.

how to step 1
Step 2

Explore the monitoring dashboard

Once your app is instrumented, you’ll automatically get a pre-built interactive dashboard. Get a clear overview of transactions, errors, and virtual machines. You can also see related metrics for infrastructure, database, real-user monitoring, and errors. This allows you to track, debug, and troubleshoot faster.

how to step 2
Step 3

Get deeper insights with our APM tool

Level up your observability with a unified view of telemetry across your development and application stack. With New Relic APM 360, you can go from an estate-wide view of system health to tracing the path of any service request. With integrated infra, logs, alerts, SLOs, and vulnerabilities, you can quickly discover and fix issues before your users notice.

how to step 3

Get started
monitoring Laravel & fixing issues

Laravel Monitoring is crucial to gain instant visibility into your Laravel PHP framework’s key performance indicators. Download 
New Relic Laravel quickstart to proactively instrument Laravel with the New Relic PHP agent and start monitoring today. Ingest 
your first 100GB of telemetry data for free.

FAQs

Laravel monitoring is the practice of systematically observing, measuring, and analyzing various aspects of a Laravel application's performance and functionality. This monitoring encompasses a wide range of metrics and data points that collectively provide a comprehensive view of how the application is behaving in real-time. Laravel is a popular PHP framework used to build web applications, and monitoring it is essential for several compelling reasons:

  1. Identifying performance bottlenecks: ne of the primary purposes of Laravel monitoring is to pinpoint performance bottlenecks within your application. Performance bottlenecks can manifest as slow response times, high CPU or memory usage, or inefficient database queries. By monitoring these aspects, you gain insights into what parts of your application may be causing delays or degraded performance.
  2. Proactive issue detection: Laravel monitoring is not just about identifying issues when they occur but also about detecting potential problems before they impact your users. By continuously monitoring key performance metrics, you can set up alerts to notify you when specific thresholds are breached. This proactive approach enables you to address issues before they escalate and affect the user experience.
  3. Enhancing user experience: The user experience is paramount in today's digital landscape. Laravel monitoring plays a pivotal role in ensuring that your application provides a smooth and responsive experience to users. By monitoring response times, error rates, and other user-centric metrics, you can make data-driven improvements that result in higher user satisfaction.
  4. Efficient resource management: Efficiently managing server resources is essential for cost-effectiveness and scalability. Laravel monitoring helps you keep an eye on resource consumption, ensuring that your application uses CPU, memory, and other resources efficiently. This, in turn, allows you to optimize server configurations and scale your application appropriately.
  5. Troubleshooting and debugging: When issues do arise, Laravel monitoring becomes a valuable tool for troubleshooting and debugging.It provides you with a wealth of data to analyze, helping you narrow down the root causes of problems quickly. This expedites the resolution process and minimizes downtime.
  6. Data-Driven Decision Making: Laravel monitoring is all about data. It provides you with actionable insights derived from real-time data, enabling data-driven decision-making. Whether it's optimizing code, adjusting server configurations, or planning for future scalability, the data collected through monitoring guides your strategic choices.

The New Relic Laravel quickstart installs the New Relic PHP agent so that you can instrument and monitor your Laravel application easily. It is your gateway to instant detection of changes in Laravel’s critical metrics. The integration helps you to monitor Laravel through a standard dashboard and three instant alerts. It can trigger low-throughput, high-error rate, and high-duration alerts when specific predefined alert conditions are met.

The quickstart also supports Laravel to identify the appropriate place to insert JavaScript headers and footers for browser monitoring. Install the New Relic Laravel quickstart today to start monitoring your Laravel PHP framework’s key performance indicators.

Laravel is a great tool to ease your workload and allow you to solve problems more efficiently. But like most developer tools, it’s only as great as you make it. Below are some best practices for monitoring your Laravel application.

1. Upgrade to the latest version
It’s always best to upgrade to the latest version of Laravel. The service unveils major framework releases every year (typically in February) and minor releases periodically throughout the year. Each new release provides improvements to security and speed and fixing any bugs, so it’s best to stay up to date.

2. Set up strategic alerts
Configure alerting mechanisms within your monitoring tools to receive notifications for critical events. Through Laravel, you can integrate alerts with email, SMS, Slack and other workplace channels. Timely alerts allow you to assess and intervene quickly without having to be on the dashboard.

3. Collect error data
Being alerted to problems is helpful, but keeping a log of them is imperative. Gathering comprehensive details of errors that occur empowers developers to get to the root of the issue faster and prevent replication. Configure monitoring tools to capture essential information for each issue, such as stack traces, event timelines, and session details.

4. Keep an eye on network requests
Vigilantly monitor both incoming user requests and outbound requests to third-party APIs. Staying on top of network requests helps to uncover patterns, pinpoint performance issues and efficiently troubleshoot bugs.

5. Centralize log data
While modern monitoring tools offer diverse data extraction methods, having a centralized log collection system is paramount. Logs serve as a valuable resource for insights into application problems and bottlenecks. Establishing a centralized log aggregation service ensures the availability of raw data when needed.

6. Track server resource utilization
Every incoming request consumes server resources. Some consume more than others. Closely examine resource usage over time and monitor it with specific requests and events. This will allow you to figure out which requests are clogging the system, prioritize optimizations and improve workflow efficiency.

Laravel PHP Monitoring

Laravel is a free, open-source PHP model-view-controller web framework that empowers developers to carry out common tasks in web and app development projects with ease.

New Relic Laravel quickstart features

The New Relic Laravel monitoring quickstart has the following features:

  • Our standard dashboard provides a clear overview of transactions, errors and virtual machines.
  • The Laravel PHP dashboard also helps you track other key indicators like daily transaction errors, comparison between weekly transaction errors, most popular transactions, and more.
  • Pre-defined alert conditions notify you on performance metrics like duration, error rate and throughput.

Why monitor Laravel with New Relic?

The New Relic Laravel quickstart installs the New Relic PHP agent so that you can instrument and monitor your Laravel application. It is your gateway to instant detection of changes in Laravel’s critical metrics. The integration helps you to monitor Laravel through a standard dashboard and three instant alerts. It can trigger low-throughput, high-error rate, and high-duration alerts when specific pre-defined alert conditions are met. The quickstart also supports Laravel to identify the appropriate place to insert JavaScript headers and footers for browser monitoring. Install the New Relic Laravel quickstart today to start monitoring your Laravel PHP framework’s key performance indicators.

Authors
New Relic
Support
BUILT BY NEW RELIC
Need help? Visit our Support Center or check out our community forum, the Explorers Hub.
Collaborate on this quickstart

今すぐ無料で始めましょう

New Relic Now オンラインイベントで新機能を発表しました。
今すぐ登録