Skip to content

Commit

Permalink
fix(GCS+gRPC): correct gRPC OTel plugin config (#14369)
Browse files Browse the repository at this point in the history
  • Loading branch information
coryan authored Jun 25, 2024
1 parent c91821e commit d9ffe82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void EnableGrpcMetricsImpl(ExporterConfig config) {
auto scope_filter =
[authority = std::move(config.authority)](
grpc::OpenTelemetryPluginBuilder::ChannelScope const& scope) {
return (scope.default_authority() != authority);
return scope.default_authority() == authority;
};
auto status =
grpc::OpenTelemetryPluginBuilder()
Expand Down

0 comments on commit d9ffe82

Please sign in to comment.