Component(s)
otelcol
Is your feature request related to a problem? Please describe.
The configgrpc helper ignores the error returned by a custom authenticator and always returns a status.Error(codes.Unauthenticated, err.Error()).
https://github.com/open-telemetry/opentelemetry-collector/blame/6cd9c4e26feb910f19720950c8337af28194a70d/config/configgrpc/configgrpc.go#L614
Describe the solution you'd like
If the authenticator extensions sends an error of type "google.golang.org/grpc/status".Error, it should be respected and propagated to the upstream client.
Use cases:
- The authenticator extension might itself want to send retryable errors.
Describe alternatives you've considered
Additional context
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Component(s)
otelcol
Is your feature request related to a problem? Please describe.
The
configgrpchelper ignores the error returned by a custom authenticator and always returns astatus.Error(codes.Unauthenticated, err.Error()).https://github.com/open-telemetry/opentelemetry-collector/blame/6cd9c4e26feb910f19720950c8337af28194a70d/config/configgrpc/configgrpc.go#L614
Describe the solution you'd like
If the authenticator extensions sends an error of type
"google.golang.org/grpc/status".Error, it should be respected and propagated to the upstream client.Use cases:
Describe alternatives you've considered
Additional context
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.