-
Notifications
You must be signed in to change notification settings - Fork 890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add connect to rpc.yaml #2950
Add connect to rpc.yaml #2950
Conversation
-1 imo |
👋🏽 @yurishkuro! Sure, happy to switch to some prefixing scheme - While we're at it, what's your preference for gRPC-Web - |
I have changed |
Please regenerate the markdown files based on the YAML |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Hey, jumping back on this. |
- id: cancelled | ||
value: cancelled | ||
- id: unknown | ||
value: unknown | ||
- id: invalid_argument | ||
value: invalid_argument | ||
- id: deadline_exceeded | ||
value: deadline_exceeded | ||
- id: not_found | ||
value: not_found | ||
- id: already_exists | ||
value: already_exists | ||
- id: permission_denied | ||
value: permission_denied | ||
- id: resource_exhausted | ||
value: resource_exhausted | ||
- id: failed_precondition | ||
value: failed_precondition | ||
- id: aborted | ||
value: aborted | ||
- id: out_of_range | ||
value: out_of_range | ||
- id: unimplemented | ||
value: unimplemented | ||
- id: internal | ||
value: internal | ||
- id: unavailable | ||
value: unavailable | ||
- id: data_loss | ||
value: data_loss | ||
- id: unauthenticated | ||
value: unauthenticated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you say why this section looks different than the gRPC section above which also includes a "brief" attribute? This also looks unnecessarily duplicated -- can we instead refer to the gRPC section above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is unnecessarily duplicated but the generator needs to have both an key/id and a value. They're similar to grpc but different because all connect error codes are strings, not ints
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
Hello, still want to get this PR merged. gRPC and connect are different protocols but share a lot of similarities; error codes are one of their slight differences
There is already an implementation that will use this of this over at https://github.com/bufbuild/connect-opentelemetry-go too if it helps |
Fixes #2949
Changes
Adds connect as a new rpc convention in trace/rpc.yaml