Skip to content

Commit 91dd88f

Browse files
committed
remove gRPC status code mapping
1 parent 01efec2 commit 91dd88f

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
@@ -213,32 +213,4 @@ the `rpc.grpc.response.metadata.my-custom-key` attribute with value `["attribute
213213
<!-- END AUTOGENERATED TEXT -->
214214
<!-- endsemconv -->
215215

216-
## gRPC Status
217-
218-
The table below describes when
219-
the [Span Status](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.49.0/specification/trace/api.md#set-status) MUST be set
220-
to `Error` or remain unset
221-
depending on the [gRPC status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md)
222-
and [Span Kind](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.49.0/specification/trace/api.md#spankind).
223-
224-
| gRPC Status Code | `SpanKind.SERVER` Span Status | `SpanKind.CLIENT` Span Status |
225-
|---|---|---|
226-
| OK | unset | unset |
227-
| CANCELLED | unset | `Error` |
228-
| UNKNOWN | `Error` | `Error` |
229-
| INVALID_ARGUMENT | unset | `Error` |
230-
| DEADLINE_EXCEEDED | `Error` | `Error` |
231-
| NOT_FOUND | unset | `Error` |
232-
| ALREADY_EXISTS | unset | `Error` |
233-
| PERMISSION_DENIED | unset | `Error` |
234-
| RESOURCE_EXHAUSTED | unset| `Error` |
235-
| FAILED_PRECONDITION | unset | `Error` |
236-
| ABORTED | unset | `Error` |
237-
| OUT_OF_RANGE | unset | `Error` |
238-
| UNIMPLEMENTED | `Error` | `Error` |
239-
| INTERNAL | `Error` | `Error` |
240-
| UNAVAILABLE | `Error` | `Error` |
241-
| DATA_LOSS | `Error` | `Error` |
242-
| UNAUTHENTICATED | unset | `Error` |
243-
244216
[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

0 commit comments

Comments
 (0)