open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
3.14k stars 2.42k forks source link

[configtls] Use configtls.NewDefaultClientConfig instead of manually creating struct #36064

Open mackjmr opened 1 month ago

mackjmr commented 1 month ago

Component(s)

No response

Describe the issue you're reporting

Move away from manually creating configtls.ClientConfig in favor of using configtls.NewDefaultClientConfig.

This is necessary for the following components:

Core collector issue: https://github.com/open-telemetry/opentelemetry-collector/issues/11383

VihasMakwana commented 1 month ago

I'll help out with this.

github-actions[bot] commented 1 day ago

Pinging code owners for cmd/opampsupervisor: @evan-bradley @atoulme @tigrannajaryan. See Adding Labels via Comments if you do not have permissions to add labels yourself. For example, comment '/label priority:p2 -needs-triaged' to set the priority and remove the needs-triaged label.