-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GEN-2012]: Add TLS support for Jaeger (v1 & v2) (#2021)
This pull request includes several changes to enhance Jaeger configuration, improve TLS support, and update the frontend for dynamic field handling. The most important changes are summarized below: ### Jaeger Configuration Enhancements: * [`common/config/jaeger.go`](diffhunk://#diff-2390bce22e41af11f8b39ffe6bb9ba74d1285b0bba19612c5c282ddb3d864856L9-R19): Added new constants `JaegerTlsKey` and `JaegerCaPemKey`, and updated error messages for better clarity. * [`common/config/jaeger.go`](diffhunk://#diff-2390bce22e41af11f8b39ffe6bb9ba74d1285b0bba19612c5c282ddb3d864856R32-R97): Modified `ModifyConfig` function to support both secure and insecure connections, and added validation for TLS configuration. * [`common/config/utils.go`](diffhunk://#diff-3a30bd3819234a1d17d8a057d80ffc71550dab2fc17687b78b40e5c6f49a5136R73-R132): Added `parseEncryptedOtlpGrpcUrl` function to handle and validate encrypted OTLP gRPC URLs. ### Frontend Updates: * [`frontend/webapp/containers/main/destinations/destination-drawer/build-card.ts`](diffhunk://#diff-ce1c4d3c06218dab699d84dac4690cc261b1209716055609b79e97ab930e6862L23-R23): Fixed the display of password fields to always show 11 dots for consistency. * [`frontend/webapp/containers/main/destinations/destination-form-body/dynamic-fields/index.tsx`](diffhunk://#diff-c17889e1ffea148a206f57df5da9f8cc755e7e522a9057a339f6887c01ed5815R26-R27): Added support for rendering checkbox input type in dynamic fields. * [`frontend/webapp/hooks/destinations/useConnectDestinationForm.ts`](diffhunk://#diff-ff55b24fb020911d3ee70fd88fce706bdc4348bfdebe633f7e6967f560218b4eR61): Updated hook to handle checkbox input type. * [`frontend/webapp/utils/constants/string.tsx`](diffhunk://#diff-6b7ecf63c9f57c564b2f2f5d7998fd2cc45aee9e4dfc71aeeeb8361a39ba66cbR15): Added `CHECKBOX` to `INPUT_TYPES` constants. ### Documentation Updates: * [`docs/backends/jaeger.mdx`](diffhunk://#diff-f00a289d3952150edbc0d05149d07088b64968bff41cfd5e1d3aaa29d12760b6L2-L31): Updated Jaeger configuration documentation to include new TLS-related fields and improved formatting. [[1]](diffhunk://#diff-f00a289d3952150edbc0d05149d07088b64968bff41cfd5e1d3aaa29d12760b6L2-L31) [[2]](diffhunk://#diff-f00a289d3952150edbc0d05149d07088b64968bff41cfd5e1d3aaa29d12760b6R47-R49) These changes collectively improve the configuration flexibility and security of Jaeger integrations, while also enhancing the frontend user experience.
- Loading branch information
1 parent
1b67b01
commit f2af7f4
Showing
13 changed files
with
122 additions
and
67 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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