Skip to content
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 support to handle 402, 413, 414, 431 http error code as permanent errors in OTLP exporter #5674 #5685

Merged
merged 12 commits into from
Jul 25, 2022
Merged
Prev Previous commit
Next Next commit
Add support to handle 402, 413, 414, 431 http error code as permanent…
… errors in OTLP exporter #5674

 - fixed build-and-test  golangci-lint run
  • Loading branch information
mcmho committed Jul 21, 2022
commit 347e72ac8083ace2646aeffcde406b8773b01ab1
2 changes: 0 additions & 2 deletions exporter/otlphttpexporter/otlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ func isPermanentClientFailure(code int) bool {
default:
return false
}

return false
}

// Read the response and decode the status.Status from the body.
Expand Down