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

grpc: enables collector by default #3732

Merged
merged 4 commits into from
Feb 21, 2024
Merged

grpc: enables collector by default #3732

merged 4 commits into from
Feb 21, 2024

Conversation

codefromthecrypt
Copy link
Member

The grpc service hasn't had any requests for change since introduction, and the code in armeria is stable. This enables the gRPC service by default (on both slim and normal builds as it only needs armeria).

This moves it out of experimental (something I neglected to do in 3.0, but better late than never).

cc @openzipkin/armeria

Signed-off-by: Adrian Cole <adrian@tetrate.io>
long encodedLength = responseBody.readInt() & 0xffffffffL;

return ReportResponse.ADAPTER.decode(responseBody);
void callReport(ListOfSpans spans) throws IOException {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I refactored this to close resources.. only other change is verifying the encodedLength is the same as the input. Since the result has no fields, I changed to void return

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Adrian Cole added 2 commits February 21, 2024 08:22
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Copy link
Contributor

@minwoox minwoox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 👍
Could you add @ikhoon and @jrhee17 to @openzipkin/armeria?

@codefromthecrypt
Copy link
Member Author

Could you add @ikhoon and @jrhee17 to @openzipkin/armeria?

gladly and done!

@codefromthecrypt codefromthecrypt merged commit 0970acb into master Feb 21, 2024
13 checks passed
@codefromthecrypt codefromthecrypt deleted the grpc-by-default branch February 21, 2024 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants