Hello,
I have the following code within a Laravel application in which Sentry is configured.
use Illuminate\Support\Facades\Log;
Log::warning('This is a warning!');
This warning is logged and sent to Sentry as expected. However, this warning occurs occasionally, and the events are not grouped together/merged within Sentry. For example, if the above log is written five times, it shows up as the following five events within Sentry.
[2019-03-26 10:08:17] production.WARNING: This is a warning!
[2019-03-26 10:18:27] production.WARNING: This is a warning!
[2019-03-26 10:28:37] production.WARNING: This is a warning!
[2019-03-26 10:38:47] production.WARNING: This is a warning!
[2019-03-26 10:48:57] production.WARNING: This is a warning!
The only difference is the timestamp, so I want those events to be grouped together. Because right now my event stream is being spammed with the same log entry showing up many times, and I get tons of e-mail notifications.
Is there any way to configure grouping/rollups to handle this, i.e. so that the events are grouped together regardless of the timestamp?
Thanks!