Skip to content

Commit

Permalink
Merge pull request #1041 from fengli79/master
Browse files Browse the repository at this point in the history
Remove the `attempt` base unit for grpc_client_attempt_started metric
  • Loading branch information
fengli79 authored Jan 28, 2024
2 parents 9c4f9ee + 73e1903 commit 45d71f9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ static MetricsClientMeters newClientMetricsMeters(MeterRegistry registry) {
.description(
"The total number of RPC attempts started from the client side, including "
+ "those that have not completed.")
.baseUnit("attempt")
.withRegistry(registry));

builder.setSentMessageSizeDistribution(DistributionSummary.builder(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ static MetricsServerMeters newServerMetricsMeters(MeterRegistry registry) {
builder.setServerCallCounter(Counter.builder(SERVER_CALL_STARTED)
.description("The total number of RPC attempts started from the server side, including "
+ "those that have not completed.")
.baseUnit("call")
.withRegistry(registry));

builder.setSentMessageSizeDistribution(DistributionSummary.builder(
Expand Down

0 comments on commit 45d71f9

Please sign in to comment.