Update span status code setting in gRPC interceptor to reflect changes in the spec #387
Labels
area: instrumentation
Related to an instrumentation package
Milestone
It seems after open-telemetry/opentelemetry-specification#966, and also taking into consideration changes made to
codes
pkg (open-telemetry/opentelemetry-go#1214), the span error codes are no longer 1:1 with gRPC errors.When setting a span status based off the
Status
fromgrpc
inotelgrpc/interceptor.go
, this change should be taken into consideration.Possibly could also resolve #295
The text was updated successfully, but these errors were encountered: