Library Name
No response
Library Version(s)
No response
Describe the feature you'd like
Update the default HTTP client error status codes to include 5xx errors.
|
DEFAULT_HTTP_CLIENT_ERROR_STATUSES = new BitSet(); |
|
DEFAULT_HTTP_CLIENT_ERROR_STATUSES.set(400, 500); |
Is your feature request related to a problem?
No response
Describe alternatives you've considered
No response
Additional context
With the addition of inferred services, trace metrics from http clients will show up as part of the calling service. These metrics are used to show latency metrics to downstream services. Right now the errors that are shown only apply to 4xx errors. This is misleading as 5xx errors do not show in the UI as an error for downstream calls to other services.
Library Name
No response
Library Version(s)
No response
Describe the feature you'd like
Update the default HTTP client error status codes to include 5xx errors.
dd-trace-java/dd-trace-api/src/main/java/datadog/trace/api/ConfigDefaults.java
Lines 27 to 28 in 7e50961
Is your feature request related to a problem?
No response
Describe alternatives you've considered
No response
Additional context
With the addition of inferred services, trace metrics from http clients will show up as part of the calling service. These metrics are used to show latency metrics to downstream services. Right now the errors that are shown only apply to 4xx errors. This is misleading as 5xx errors do not show in the UI as an error for downstream calls to other services.