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

Change collector response to be gRPC client retries friendly #11186

Closed
donghun-cho opened this issue Jun 26, 2024 · 1 comment · Fixed by #11215 or #11225
Closed

Change collector response to be gRPC client retries friendly #11186

donghun-cho opened this issue Jun 26, 2024 · 1 comment · Fixed by #11215 or #11225

Comments

@donghun-cho
Copy link
Contributor

donghun-cho commented Jun 26, 2024

Change the collector response status code to be gRPC client retries friendly.

  • The expected retryable status codes for the client are [UNKNOWN, UNAVAILABLE]
  • Instead of sending a failure message with status code OK, send the status code UNAVAILABLE as a response.
    • Compatibility with old agents needs to be checked
    • Change response only when the client request includes the gRPC metadata entry retry-friendly-response grpc.built-in.retry with a value of true
@donghun-cho donghun-cho added this to the 3.0.1 milestone Jun 26, 2024
@donghun-cho donghun-cho self-assigned this Jun 26, 2024
donghun-cho added a commit to donghun-cho/pinpoint that referenced this issue Jul 3, 2024
donghun-cho added a commit to donghun-cho/pinpoint that referenced this issue Jul 3, 2024
donghun-cho added a commit to donghun-cho/pinpoint that referenced this issue Jul 3, 2024
emeroad added a commit to emeroad/pinpoint that referenced this issue Jul 4, 2024
emeroad added a commit to emeroad/pinpoint that referenced this issue Jul 4, 2024
emeroad added a commit to emeroad/pinpoint that referenced this issue Jul 4, 2024
emeroad added a commit to emeroad/pinpoint that referenced this issue Jul 5, 2024
emeroad added a commit to emeroad/pinpoint that referenced this issue Jul 5, 2024
emeroad added a commit that referenced this issue Jul 5, 2024
@donghun-cho
Copy link
Contributor Author

Change header key for collector response to grpc.built-in.retry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment