opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

[configgrpc] endpoint validation causes failures in dns resolution

Open codeboten opened this issue 1 year ago • 1 comments
trafficstars

The validation that was added for dns:/// makes it impossible for end users to use dns resolution as documented here: https://github.com/grpc/grpc/blob/master/doc/naming.md#detailed-design

The documentation for NewClient suggests that dns:/// is correct, but that causes the authority to be empty, making it impossible for anyone using a custom authority to configure a custom authority

codeboten avatar Jun 20 '24 17:06 codeboten

Thanks for addressing this issue. It would be preferrable to be able to use a custom authority.

oosariemen avatar Jun 20 '24 17:06 oosariemen