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

census: add per call latency metric #9906

Merged
merged 2 commits into from
Mar 3, 2023

Conversation

DNVindhya
Copy link
Contributor

This PR adds a new measure to calculate time taken by gRPC to complete an RPC (i.e grpc.io/client/api_latency).

It also enables corresponding view GRPC_CLIENT_API_LATENCY_VIEW for grpc-gcp-observability.

Note: New measure and view are defined in grpc-census temporarily. This will be moved to opencensus-java repository later.

CC @ejona86 @sanjaypujare

@sanjaypujare
Copy link
Contributor

Note: New measure and view are defined in grpc-census temporarily. This will be moved to opencensus-java repository later.

Since opencensus is deprecated and the repo most likely doesn't accept new PRs I am not sure if you will be able to do that. Just saying...

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.

Found a potential issue and requesting some tests/changes

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 66f95b7 into grpc:master Mar 3, 2023
@DNVindhya DNVindhya deleted the census-api-latency-metric branch March 3, 2023 18:07
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 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.

2 participants