Skip to content

Commit 6732dfa

Browse files
committed
deprecating HTTP_SERVER_ERROR_STATUSES
1 parent bd7bc91 commit 6732dfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dd-trace-api/src/main/java/datadog/trace/api/config/TracerConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ public final class TracerConfig {
6565
"trace.http.server.path-resource-name-mapping";
6666
public static final String TRACE_HTTP_CLIENT_PATH_RESOURCE_NAME_MAPPING =
6767
"trace.http.client.path-resource-name-mapping";
68-
public static final String HTTP_SERVER_ERROR_STATUSES = "http.server.error.statuses";
68+
// Use TRACE_HTTP_SERVER_ERROR_STATUSES instead
69+
@Deprecated public static final String HTTP_SERVER_ERROR_STATUSES = "http.server.error.statuses";
6970
public static final String TRACE_HTTP_SERVER_ERROR_STATUSES = "trace.http.server.error.statuses";
7071
public static final String HTTP_CLIENT_ERROR_STATUSES = "http.client.error.statuses";
7172

0 commit comments

Comments
 (0)