Skip to content

Commit

Permalink
Remove deprecated span status codes from http semantic conventions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfoote authored Nov 10, 2020
1 parent 6ae8ee7 commit 394e38e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions specification/trace/semantic_conventions/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 394e38e

Please sign in to comment.