Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Dynamiq's avatar

Monitor Laravel Application: Best Practice

What is the best practice on how to monitor a Laravel Application that is running in Production?

I stumbled upon things like Sentry, Uptimerobot etc.

We just went in production with Laravel Forge.

What would be the most important monitoring metrices and what service should we use it for?

Thanks in advance Felix

0 likes
2 replies
Sinnbeck's avatar

Those are two different things. I use both

One is an uptime checker. It just ensures that your side is actually running by making a request to its url

Sentry is for checking for unhandled exceptions in your app. So to catch coding mistakes and report them to your email

1 like
malsowayegh's avatar

Sorry if my answer will not provide a solution or recommend a tool. I just want to make you aware of couple of things.

Monitoring is too general you need specify what are you trying to check. This will help you select a software/tool or even using multiple.

aspects of Monitoring (or Observability):

  • Audit Logs (audit logs is used for specific events/actions that is important from security or compliance perspective)
  • Health checks (related to up time & wether the service is currently running normally)
  • Logs (Applications logs, Server Logs, Database logs........etc). which shows exceptions to be able to track bugs, or even crashes in your Database or web servers
  • Application metrics (cpu, memory, storage, io, network, swap....etc)

just focus on your needs and use something that helps you in the aspect you want to monitor. Having everything to be monitored will be perfect.

2 likes

Please or to participate in this conversation.