chore(): Refactor TLS and mTLS support in OpenTelemetry Protocol Expo…#2
Closed
chore(): Refactor TLS and mTLS support in OpenTelemetry Protocol Expo…#2
Conversation
…MtlsCertificateManager
…ostics Co-authored-by: Martin Costello <martin@martincostello.com>
…null reference Co-authored-by: Martin Costello <martin@martincostello.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
…ion configuration
…d expired cert failure
… via a new event source entry
… server validation callback
…rter - Removed the OtlpMtlsHttpClientFactory and integrated its functionality into a new OtlpTlsHttpClientFactory to handle both TLS and mTLS configurations. - Updated OtlpExporterOptions to include TlsOptions alongside MtlsOptions, allowing for more flexible configuration. - Introduced OtlpTlsOptions class to manage TLS-specific settings, including certificate path and validation options. - Modified environment variable handling to support both TLS and mTLS configurations. - Updated tests to cover new TLS functionality and ensure proper handling of certificates and options. - Removed unnecessary mTLS options and streamlined the logic for enabling mTLS based solely on client certificate presence.
…rter - Removed the OtlpMtlsHttpClientFactory and integrated its functionality into a new OtlpTlsHttpClientFactory to handle both TLS and mTLS configurations. - Updated OtlpExporterOptions to include TlsOptions alongside MtlsOptions, allowing for more flexible configuration. - Introduced OtlpTlsOptions class to manage TLS-specific settings, including certificate path and validation options. - Modified environment variable handling to support both TLS and mTLS configurations. - Updated tests to cover new TLS functionality and ensure proper handling of certificates and options. - Removed unnecessary mTLS options and streamlined the logic for enabling mTLS based solely on client certificate presence.
…rter - Removed the OtlpMtlsHttpClientFactory and integrated its functionality into a new OtlpTlsHttpClientFactory to handle both TLS and mTLS configurations. - Updated OtlpExporterOptions to include TlsOptions alongside MtlsOptions, allowing for more flexible configuration. - Introduced OtlpTlsOptions class to manage TLS-specific settings, including certificate path and validation options. - Modified environment variable handling to support both TLS and mTLS configurations. - Updated tests to cover new TLS functionality and ensure proper handling of certificates and options. - Removed unnecessary mTLS options and streamlined the logic for enabling mTLS based solely on client certificate presence.
|
This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or pushing will instruct the bot to automatically remove the label. This bot runs once per day. |
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.
Fixes open-telemetry#6764
Design discussion issue open-telemetry#6764
Changes
Merge requirement checklist
CHANGELOG.mdfiles updated for non-trivial changes