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

gcp-observability: add new *compressed_bytes_per_rpc views #9893

Merged
merged 4 commits into from
Feb 16, 2023

Conversation

DNVindhya
Copy link
Contributor

This PR adds new views for payload metrics and registers new views along with latency related views for gcp-observability.

List of new views for payload metrics:
Client Views

  • grpc.io/client/sent_compressed_message_bytes_per_rpc
  • grpc.io/client/received_compressed_message_bytes_per_rpc

Server Views

  • grpc.io/server/sent_compressed_message_bytes_per_rpc
  • grpc.io/server/received_compressed_message_bytes_per_rpc

Note: Payload related views are defined in grpc-census temporarily. This will be moved to opencensus-java repository later.

The above listed views along with latency related views are enabled for gcp-observability.

CC @sanjaypujare @ejona86

public static final View GRPC_CLIENT_SENT_COMPRESSED_MESSAGE_BYTES_PER_RPC =
View.create(
View.Name.create("grpc.io/client/sent_compressed_message_bytes_per_rpc"),
"Sent compressed message bytes per RPC",
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you include "client" or "client side" in the description? Also for line 72.

And "server side" for lines 80 and 88

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated description to "Compressed message bytes sent per client RPC attempt" and similarly for other client and server views.

Copy link
Contributor

@sanjaypujare sanjaypujare left a comment

Choose a reason for hiding this comment

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

LGTM

@sanjaypujare sanjaypujare merged commit 7942b9e into grpc:master Feb 16, 2023
@DNVindhya DNVindhya deleted the census-additional-views branch February 16, 2023 01:18
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants