feat(otlp): add reqwest-native-tls feature flag for HTTP transport#3330
Open
r0x0d wants to merge 2 commits intoopen-telemetry:mainfrom
Open
feat(otlp): add reqwest-native-tls feature flag for HTTP transport#3330r0x0d wants to merge 2 commits intoopen-telemetry:mainfrom
r0x0d wants to merge 2 commits intoopen-telemetry:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3330 +/- ##
=======================================
- Coverage 82.7% 82.7% -0.1%
=======================================
Files 128 128
Lines 24811 24811
=======================================
- Hits 20526 20522 -4
- Misses 4285 4289 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
lalitb
reviewed
Feb 3, 2026
Add optional `reqwest-native-tls` feature flag to opentelemetry-http and opentelemetry-otlp crates, enabling the use of system native TLS instead of bundled rustls. This is particularly beneficial for Linux distribution packagers who need to link against system libraries (OpenSSL) rather than bundling TLS implementations. Using system TLS allows: - Leveraging system-managed security updates for TLS/OpenSSL - Reducing binary size by avoiding bundled crypto libraries - Ensuring consistency with system certificate stores - Complying with distribution packaging policies that prefer system libs On other platforms, this uses Schannel (Windows) and Secure Transport (macOS). Usage: cargo build --no-default-features --features "http-proto,reqwest-native-tls,trace,metrics,logs"
dfe826a to
c792c68
Compare
c792c68 to
0784c07
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Add optional
reqwest-native-tlsfeature flag to opentelemetry-http and opentelemetry-otlp crates, enabling the use of system native TLS instead of bundled rustls.This is particularly beneficial for Linux distribution packagers who need to link against system libraries (OpenSSL) rather than bundling TLS implementations. Using system TLS allows:
On other platforms, this uses Schannel (Windows) and Secure Transport (macOS).
Merge requirement checklist
CHANGELOG.mdfiles updated for non-trivial, user-facing changes