Skip to content

Ignore classes option for Error Tracking #3068

Open

Description

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

Below is the configuration documentation for another similar error tracking platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    communityWas opened by a community memberfeature-requestA request for a new feature or change to an existing onetracing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions