Description
openedon Aug 23, 2023
Is your feature request related to a problem? Please describe.
While there are some errors that can be ignored to a certain extent, such as 404 errors, some 4XX errors should not be ignored.
Compared to other error tracking platforms, while other platforms allow you to ignore certain error classes, datadog ignores all 4XX errors by default. I think this is a bad practice.
If a client writes code incorrectly and gets an error like 422, and it's ignored because it's a 4XX error, it's going to make it harder to trace the error and more likely to cause a failure.
Or, like me, they might wonder why some errors aren't being tracked.
Describe the goal of the feature
It would be much better if we could set which classes to ignore via settings.
Describe alternatives you've considered
It was hardcoded, so there's no alternative options.
Additional context
- Zendesk issue: 1307558
- Improve Rails middleware error handling #345
Below is the configuration documentation for another similar error tracking platform.