From be808a12d2f4ab8782f75e461e460da17788a46d Mon Sep 17 00:00:00 2001 From: Justin Foote Date: Tue, 10 Nov 2020 08:10:45 -0800 Subject: [PATCH] Remove deprecated span status codes from http semantic conventions (#1216) --- specification/trace/semantic_conventions/http.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/specification/trace/semantic_conventions/http.md b/specification/trace/semantic_conventions/http.md index 745645593..c9efe0b02 100644 --- a/specification/trace/semantic_conventions/http.md +++ b/specification/trace/semantic_conventions/http.md @@ -106,20 +106,6 @@ from the `net.peer.name` used to look up the `net.peer.ip` that is actually connected to. In that case it is strongly recommended to set the `net.peer.name` attribute in addition to `http.host`. -For status, the following special cases have canonical error codes assigned: - -| Client error | Trace status code | -|-----------------------------|--------------------| -| DNS resolution failed | `Unknown` | -| Request cancelled by caller | `Cancelled` | -| URL cannot be parsed | `InvalidArgument` | -| Request timed out | `DeadlineExceeded` | - -This is not meant to be an exhaustive list -but if there is no clear mapping for some error conditions, -instrumentation developers are encouraged to use `Unknown` -and open a PR or issue in the specification repository. - ## HTTP server To understand the attributes defined in this section, it is helpful to read the "Definitions" subsection.