Allow gRPC error code config similar to HTTP
See original GitHub issueThe dd.http.client.error.statuses
config allows you to set a range of status codes that won’t be reported as errors and, by default, 4xx errors aren’t reported. A similar config for gRPC so codes like Canceled
, NotFound
, etc. don’t report as errors should be generally helpful. dd-trace-go
added support in March, '19, https://github.com/DataDog/dd-trace-go/pull/414.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
GRPC Core: Status codes and their use in gRPC
Code Number Description
OK 0 Not an error; returned on success.
FAILED_PRECONDITION 9
OUT_OF_RANGE 11
Read more >Advanced gRPC Error Usage - Johan Brandhorst
These errors translate the code and message to the grpc-message and grpc-status trailers respectively in the gRPC HTTP2 protocol spec. Extracting the message ......
Read more >Authentication - gRPC
Using client-side SSL/TLS. Now let's look at how Credentials work with one of our supported auth mechanisms. This is the simplest authentication ...
Read more >Troubleshooting Response Errors | Cloud Endpoints with gRPC
If you receive an error code 13 and the message transport is closing , this indicates that ESP is unreachable. Check the ESP...
Read more >Setting status code in grpc server method call - Stack Overflow
You can return a gRPC error using the google.golang.org/grpc/status package as follows: return nil, status.Error(codes.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The Scala code we ended up with,
Another response,