@@ -49,8 +49,8 @@ Don't set a status message if the reason can be inferred from `http.status_code`
49
49
| 501 Not Implemented | ` Unimplemented ` |
50
50
| 503 Service Unavailable | ` Unavailable ` |
51
51
| 504 Gateway Timeout | ` DeadlineExceeded ` |
52
- | Other 5xx code | ` InternalError ` [ 1] |
53
- | Any status code the client fails to interpret (e.g., 093 or 573) | ` UnknownError ` |
52
+ | Other 5xx code | ` Internal ` [ 1] |
53
+ | Any status code the client fails to interpret (e.g., 093 or 573) | ` Unknown ` |
54
54
55
55
Note that the items marked with [ 1] are different from the mapping defined in the [ OpenCensus semantic conventions] [ oc-http-status ] .
56
56
@@ -102,14 +102,14 @@ For status, the following special cases have canonical error codes assigned:
102
102
103
103
| Client error | Trace status code |
104
104
| -----------------------------| --------------------|
105
- | DNS resolution failed | ` UnknownError ` |
105
+ | DNS resolution failed | ` Unknown ` |
106
106
| Request cancelled by caller | ` Cancelled ` |
107
107
| URL cannot be parsed | ` InvalidArgument ` |
108
108
| Request timed out | ` DeadlineExceeded ` |
109
109
110
110
This is not meant to be an exhaustive list
111
111
but if there is no clear mapping for some error conditions,
112
- instrumentation developers are encouraged to use ` UnknownError `
112
+ instrumentation developers are encouraged to use ` Unknown `
113
113
and open a PR or issue in the specification repository.
114
114
115
115
## HTTP server
@@ -238,4 +238,4 @@ If set, it would be
238
238
` "https://example.com:8080/webshop/articles/4?s=1" `
239
239
but due to ` http.scheme ` , ` http.host ` and ` http.target ` being set, it would be redundant.
240
240
As explained above, these separate values are preferred but if for some reason the URL is available but the other values are not,
241
- URL can replace ` http.scheme ` , ` http.host ` and ` http.target ` .
241
+ URL can replace ` http.scheme ` , ` http.host ` and ` http.target ` .
0 commit comments