Tracer Version(s)
7.69.3
Node.js Version(s)
22
Bug Report
In every others sdk, We can customize the error code to set for the APM module.
go: https://github.com/DataDog/dd-trace-go/blob/bab575a32bfbf3eb7f20c46f2be3869357391faf/contrib/gin-gonic/gin/option.go#L20
python: https://github.com/DataDog/dd-trace-py/blob/f846235194e3d8a3187f5ae9bf9ea1c753cfc96b/docs/advanced_usage.rst#custom-error-codes
It seems to be absent on JS sdk , I only get the 500 errors and not 4XX
It seems to use the DD_TRACE_HTTP_SERVER_ERROR_STATUSES env var
Reproduction Code
No response
Error Logs
No response
Tracer Config
No response
Operating System
No response
Bundling
Unsure