Skip to content

Otlp enabled named groups - #9096

Open
jack-berg wants to merge 3 commits into
open-telemetry:mainfrom
jack-berg:otlp-enabled-named-groups
Open

jack-berg wants to merge 3 commits into
open-telemetry:mainfrom
jack-berg:otlp-enabled-named-groups

Conversation

@jack-berg

@jack-berg jack-berg commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Resolves #8558. See also #8858 (comment).

Adds setEnabledTlsNamedGroups(List<String>) to OTLP exporter builders, including profiles, to configure TLS key-exchange groups without changing JVM-wide defaults.

  • Propagates the setting through the sender SPI to the OkHttp and JDK HTTP senders.
  • Requires JDK 20+ and rejects settings that the sender or TLS provider discards. Defaults remain unchanged when unset.
  • Documents the JDK HTTP requirement for JDK-8367112, fixed in JDK 26 and backported to 25.0.6 and 21.0.14. Its integration test is temporarily skipped pending the CI JDK update.

With this, a post quantum programmatic configuration of OTLP client looks like:

 OtlpHttpSpanExporter exporter =
     OtlpHttpSpanExporter.builder()
         .setEndpoint("https://collector.example.com:4318/v1/traces")
         .setEnabledProtocols(Collections.singletonList("TLSv1.3"))
         .setEnabledTlsNamedGroups(Collections.singletonList("X25519MLKEM768"))
         .build();

@jack-berg
jack-berg requested a review from a team as a code owner December 3, 2026 21:31
@otelbot otelbot Bot added the api-change Changes to public API surface area label Dec 3, 2026
@otelbot

otelbot Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

⚠️ API changes detected — additional maintainer review required

@jack-berg @jkwatson

This PR modifies the public API surface area of the following module(s):

  • opentelemetry-exporter-otlp
  • opentelemetry-sdk-common

Please review the changes in docs/apidiffs/current_vs_latest/ carefully before approving.

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Waiting on the author · refreshed 2026-12-03 22:02 UTC

Investigate required status check failures.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Should this be with reviewers? Comment /dashboard route:reviewers to route it to them.
  • Anything wrong — including the routing? Report it with what you expected; it helps us improve the dashboard.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-change Changes to public API surface area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Permit to pass SslParameters to ExporterBuilders for fine grain TLS configuration

1 participant