<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.21.0" />

OpenTelemetry.Exporter.OpenTelemetryProtocol.Implementation.OtlpSecureHttpClientFactory

Factory for creating HttpClient instances configured with TLS settings.
public static HttpClient CreateMtlsHttpClient(OtlpMtlsOptions mtlsOptions, Action<HttpClient> configureClient = null)

Creates an HttpClient configured with mTLS settings.

public static HttpClient CreateSecureHttpClient(OtlpTlsOptions tlsOptions, Action<HttpClient> configureClient = null)

Creates an HttpClient configured with TLS settings based on the provided options.