-
Notifications
You must be signed in to change notification settings - Fork 977
should StatusCanonicalCode be applied for rpc? #1044
Copy link
Copy link
Closed
Labels
area:error-reportingRelated to error reportingRelated to error reportingarea:semantic-conventionsRelated to semantic conventionsRelated to semantic conventionspriority:p2Medium priority levelMedium priority levelrelease:allowed-for-gaEditorial changes that can still be added before GA since they don't require action by SIGsEditorial changes that can still be added before GA since they don't require action by SIGsspec:traceRelated to the specification/trace directoryRelated to the specification/trace directory
Metadata
Metadata
Assignees
Labels
area:error-reportingRelated to error reportingRelated to error reportingarea:semantic-conventionsRelated to semantic conventionsRelated to semantic conventionspriority:p2Medium priority levelMedium priority levelrelease:allowed-for-gaEditorial changes that can still be added before GA since they don't require action by SIGsEditorial changes that can still be added before GA since they don't require action by SIGsspec:traceRelated to the specification/trace directoryRelated to the specification/trace directory
What are you trying to achieve?
After the merge of this PR: #966, we can see that the
StatusCanonicalCodegot changed toError,Unset, andOk.But, if we see the rpc status: https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/semantic_conventions/rpc.md#status, they kept the same.
Additional context.
Should the status be the same? How should we map the rpc status to the new
StatusCanonicalCode? For example:Unkownis an error or an unset status?cc: @cijothomas @reyang