raygun4js icon indicating copy to clipboard operation
raygun4js copied to clipboard

Suppress duplicate errors from same client

Open Havunen opened this issue 7 years ago • 3 comments

Hey!

We have one error that is coming 10 000 times in short period of time from same client. We created inbound filter in Raygun back end service to ignore this error and also permanently ignored the current exception. The exception was caused by Safari 9, by a code which we don't even have!

It would be nice if we could limit Raygun client to report same error per user only X times in given time period or something similar.

Havunen avatar Feb 02 '18 11:02 Havunen

Agree! Any updates on this?

lalov avatar May 02 '21 19:05 lalov

I third this! Sometimes new bugs happen and fire off 100 raygun errors in 1 min because its in a loop or something, but i wouldnt actually consider that different error events

mitchmeyer1 avatar Mar 17 '23 14:03 mitchmeyer1

Hi there, thank you all for your feedback!

Although this is marked as a feature request and I do recommend avoiding hiding your errors (where necessary) in order to understand the true affect on your code and errors, I have a few suggestions you can take advantage of to help maintain your issue -

  • Inbound filtering, filter out errors before they are recorded. You can find additional documentation here
  • Make use of the Spike Protection feature. The documentation is located here
  • Using our Alerting capabilities so you and your team are aware of any error groups that are causing major disruptions in your application and can look to immediately resolve your errors. The documentation is located here
  • You can modify or cancel exceptions in your code and create a counter on your end to maintain the usage. Here's the documentation in case you're interested in the functionality you'd like to implement. You can create a counter in your code to track the usage before cancelling the message
  • Ignoring third party errors - The documentation is located here

I hope this was helpful! Thank you again for your feedback.

sumitramanga avatar Feb 05 '24 01:02 sumitramanga