Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

chore: update dependency grpc to 1.24.2#750

Merged
mayurkale22 merged 3 commits into
census-instrumentation:masterfrom
mayurkale22:grpc_1.24.2
Feb 17, 2020
Merged

chore: update dependency grpc to 1.24.2#750
mayurkale22 merged 3 commits into
census-instrumentation:masterfrom
mayurkale22:grpc_1.24.2

Conversation

@mayurkale22

Copy link
Copy Markdown
Member

No description provided.

@mayurkale22

Copy link
Copy Markdown
Member Author

This is based on #715, @draffensperger and @lovrop please review

@lovrop lovrop left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks!

"@opencensus/core": "^0.0.19",
"@opencensus/propagation-binaryformat": "^0.0.19",
"grpc": "~1.21.0",
"grpc": "1.24.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

^1.24.2 would be more flexible and IMO fit better due to the nature of the dependency (per the Additional context section on #715). Did you intentionally choose an exact version match?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

done in a78335a

@lovrop

lovrop commented Feb 13, 2020

Copy link
Copy Markdown

Looks good to me, thanks for the tweak. Seems @draffensperger needs to sign off?

@mayurkale22

Copy link
Copy Markdown
Member Author

@draffensperger Please review when you get a chance.

);
if (method.method === grpcClient.unaryMethod) {
assertStats(testExporter, 170);
assertStats(testExporter, 188);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Out of curiosity, why are the numbers changing here? Will that confuse users at all?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The latest gRPC release (grpc@1.24.2) added new options (flags) to Metadata class due to this size of bytes send increased a little bit (we measure the sent_bytes_per_rpc).

Proposal: https://github.com/grpc/proposal/blob/master/L48-node-metadata-options.md
PR: grpc/grpc-node#796

@mayurkale22 mayurkale22 merged commit a6381af into census-instrumentation:master Feb 17, 2020
@mayurkale22 mayurkale22 deleted the grpc_1.24.2 branch February 17, 2020 06:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants