-
Notifications
You must be signed in to change notification settings - Fork 171
Description
Describe the feature you'd like
Basically we are currently integrating error tracking via RUM, APM and LOGS. Because of APM being heavily sampled, we want to rely more on log error tracking.
Unfortunately the documentation is lacking support for error tracking via php https://docs.datadoghq.com/logs/error_tracking/backend/?tab=serilog#php
It would be really nice if the php-dd-trace extension is also able to support error tracking via logs. e.g. when using monolog and the errors/critical context has a Throwable object, make sure it gets picked up properly by the error tracking feature.
Is your feature request related to a problem?
No response
Describe alternatives you've considered
I have also attempted to provide a custom formatter to set the specified generic fields error.stack, error.message and error.kind, but it seems like datadog does not convert/does not pick up those logs into the error tracking component.
Is there a non sdk specific documentation about what is the bare minimum that needs to be provided in the logs to be considered to be picked up in the error tracking component?
Additional context
No response