In addition to snoozing notifications for a number of occurrences or a fixed period, we have introduced a new way of snoozing errors. You can now snooze errors per application version. In this blog post, you'll learn all about it.
Snoozing options in Flare
Flare has powerful options to notify you when something goes wrong in your app. We provide notifications via email, Slack, SMS (through Nexmo), Discord, Microsoft Teams and webhooks.
For each of these channels, you can choose which notifications should be sent through them. These are the events we can notify you of
-
when an error occurs for the very first time
-
when an error occurs for the 1st, 10th, 100th, 1000th, 2000th, ... time
-
when an error that was marked as resolved, occurs again
-
...
Snoozing errors per application version
If you are aware of an error in an application, you might temporary not want to receive notifications concerning a particular error anymore. You do want to get notified again after you've deployed a fix for the error.
You can achieve this by sending the version number of your app whenever an error occurs. In Laravel projects, you can do this by calling determineVersionUsing on the Flare facade.
// in a service provider
use Facade\Ignition\Facades\Flare;
Flare::determineVersionUsing(function() {
return '1.0'; // return your version number here.
});
With Flare being aware of your application version, you can now snooze any errors sent to Flare for a particular version.

You will only get notified when the error comes in with another version number (probably after you've redeployed your app).
Automatically determining a version number
If you don't set a version number explicitly using determineVersionUsing, we can use a short commit hash if your application is served via a git repo.
For this to work, you'll need to set the reporting.collect_git_information to value true in the flare config file, so git information is sent to Flare.
Continue reading
Introducing Flare’s next big feature: performance monitoring
Flare's new Performance Monitoring feature is now live, giving you complete visibility into your Laravel app's HTTP routes, queued jobs, Artisan commands, and database queries.
Freek
Lessons from the deep end
20 months ago, we started building Performance Monitoring as Flare’s next big feature, never expecting Laravel’s rapid commercial growth to put us in direct competition with their own tools. This is our honest take on those 20 months went, how we’re adapting to this new reality, and where we’re heading next while staying true to who we are. A dive into the deep end, without knowing how far down it goes.
Alex
Subscribe to Backtrace, our quarterly Flare newsletter
No spam, just news & product updates