open-telemetry/opentelemetry-java

OkHttpHttpSender should support COMPATIBLE_TLS connectionSpec

Aperta

#7573 aperta il 15 ago 2025

 (12 commenti) (0 reazioni) (0 assegnatari)Java (1005 fork)auto 404
Feature Requesthelp wanted

Metriche repository

Star
 (2433 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Is your feature request related to a problem? Please describe. The OkHttp based exporter can only export to https:// endpoints that meet the requirements of the OkHttp MODERN_TLS ConnectionSpec.

Describe the solution you'd like the OkHttpHttpSender should support the COMPATIBLE_TLS ConnectionSpec (possibly via a config switch)

Describe alternatives you've considered A custom ExporterSender, but hits on #6718

Additional context Certain WebSphere 8.x systems (java 1.8) running on AIX platforms (for example) cannot export to https:// endpoints. The J9 1.8 JVMs cannot satisfy the requirements of OkHttp MODERN_TLS and there is no available otel-collector for AIX to handle a http://localhost type setup.

Guida contributor