Skip to content

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.

@DNVindhya DNVindhya force-pushed the census-additional-views branch from 9ccbb74 to c038580 Compare February 15, 2023 22:58
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