Skip to content

Configurable exception level reporting for Symfony applications #394

Open
@pauljura

Description

@pauljura

Summary

I recently upgraded the New Relic PHP Agent from 9.18.1.303 and I believe the change in 9.19.0.309 has caused additional exceptions to be reported in my Symfony application. I am seeing exceptions for 404's and 401's, which weren't reported previously. I'm really only interested in critical exceptions that would result in a 5xx response, and I don't care about 4xx responses. (For reference, 4xx responses are "error" level)

Could there be (or is there already) a configuration setting that lets us specify an exception level of "critical" only?

Right now I'm working around this by specifying newrelic.framework=no_framework and registering a custom listener for critical errors that reports exceptions with newrelic_notice_error().

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions