-
Notifications
You must be signed in to change notification settings - Fork 510
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
Fix distributor http status codes #1958
Comments
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. |
So currently error code returned is 'FailedPrecondition tempo/modules/ingester/instance.go Line 189 in c0127c7
tempo/modules/ingester/instance.go Line 198 in c0127c7
...defined here:
A better option can be:
Surprisingly, grpC codes to http codes mapping says that both map to 400. |
Hi @mghildiy , Thank you so much for your contribution to this issue. Unfortunately, this issue is no longer is no longer relevant due to our shift towards a "partial success" solution, as outlined in #2571. In addition, Otel states that partial successes should return a 200 instead of an error. Your contribution to this repo is well observed by the team and is highly valued. Don't be deterred to explore other opportunities to contribute! Closing this issue. |
Describe the bug
As reported by the community if the ingester returns trace too large then the returned http error is 500. This error suggests to the otel collector to retry however it should return 400 which suggests to not retry. Currently the GRPC status codes correctly suggest retrying or not.
Review the status codes for various errors and return 400s where appropriate.
The text was updated successfully, but these errors were encountered: