Skip to content

Exception thrown when detect_exceptions filter is not being used #339

Open
@cdancy

Description

@cdancy

Describe the bug

This is not so much a bug as it is an ask for how things are supposed to behave. We don't have detect_exceptions filter added but within our logs we have stacktraces dumped in between our json logs. When these logs eventually make their way over to NewRelic we see a lot of logs where stream: stderr but there is no message field present. There are also loads of these dumped seemingly at the same time.

Is this the expected behavior when the operator encounters a stacktrace and doesn't know what to do with it? Meaning it just creates a stream: stderr log with no message injected? That seems l suppose logical just want to confirm.

FWIW: we haven't enabled the detect_exceptions filter due to this currently open bug from over a year ago. We're not sure if this is still an issue with recent versions as we haven't tested but it's at least why we haven't tried it again.

Reproduction steps

Default behavior when `detect_exceptions` is not enabled but exceptions are encountered.

Expected behavior

Not sure actually which is why I'm here :)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions