Skip to content

Commit 79fb1be

Browse files
committed
remove gRPC status code mapping
1 parent 8fa9e15 commit 79fb1be

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

docs/rpc/grpc.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -283,32 +283,4 @@ the `rpc.grpc.response.metadata.my-custom-key` attribute with value `["attribute
283283
<!-- END AUTOGENERATED TEXT -->
284284
<!-- endsemconv -->
285285

286-
## gRPC Status
287-
288-
The table below describes when
289-
the [Span Status](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.49.0/specification/trace/api.md#set-status) MUST be set
290-
to `Error` or remain unset
291-
depending on the [gRPC status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md)
292-
and [Span Kind](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.49.0/specification/trace/api.md#spankind).
293-
294-
| gRPC Status Code | `SpanKind.SERVER` Span Status | `SpanKind.CLIENT` Span Status |
295-
|---|---|---|
296-
| OK | unset | unset |
297-
| CANCELLED | unset | `Error` |
298-
| UNKNOWN | `Error` | `Error` |
299-
| INVALID_ARGUMENT | unset | `Error` |
300-
| DEADLINE_EXCEEDED | `Error` | `Error` |
301-
| NOT_FOUND | unset | `Error` |
302-
| ALREADY_EXISTS | unset | `Error` |
303-
| PERMISSION_DENIED | unset | `Error` |
304-
| RESOURCE_EXHAUSTED | unset| `Error` |
305-
| FAILED_PRECONDITION | unset | `Error` |
306-
| ABORTED | unset | `Error` |
307-
| OUT_OF_RANGE | unset | `Error` |
308-
| UNIMPLEMENTED | `Error` | `Error` |
309-
| INTERNAL | `Error` | `Error` |
310-
| UNAVAILABLE | `Error` | `Error` |
311-
| DATA_LOSS | `Error` | `Error` |
312-
| UNAUTHENTICATED | unset | `Error` |
313-
314286
[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

0 commit comments

Comments
 (0)