Skip to content

Commit

Permalink
feat: enable grpc.lb.locality label for client-side metrics (#2659)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyn authored Aug 8, 2024
1 parent 48e7a4c commit b681ee0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ static void enableGrpcMetrics(
GrpcOpenTelemetry grpcOpenTelemetry =
GrpcOpenTelemetry.newBuilder()
.sdk(openTelemetrySdk)
.addOptionalLabel("grpc.lb.locality")
.enableMetrics(METRICS_TO_ENABLE)
.build();
ApiFunction<ManagedChannelBuilder, ManagedChannelBuilder> channelConfigurator =
Expand Down

0 comments on commit b681ee0

Please sign in to comment.