Skip to content

should StatusCanonicalCode be applied for rpc? #1044

@eddynaka

Description

@eddynaka

What are you trying to achieve?

After the merge of this PR: #966, we can see that the StatusCanonicalCode got changed to Error, Unset, and Ok.

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: Unkown is an error or an unset status?

cc: @cijothomas @reyang

Metadata

Metadata

Assignees

Labels

area:error-reportingRelated to error reportingarea:semantic-conventionsRelated to semantic conventionspriority:p2Medium priority levelrelease:allowed-for-gaEditorial changes that can still be added before GA since they don't require action by SIGsspec:traceRelated to the specification/trace directory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions