-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GEN-2012]: Add TLS support for Jaeger (v1 & v2) #2021
Conversation
@blumamir I made all the necessary changes 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @BenElferink
This looks great, added few nits
The endpoint format is `host:port`. | ||
- host is required | ||
- port is optional and defaults to the default OTLP gRPC port `4317`. | ||
- **JAEGER_URL** - Endpoint, the format is `host:port`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should use the code name here JAEGER_URL
or the display name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Key name makes most sense to me, it's also self explanatory.
…certificate requirements
@blumamir sorted the nits too 👍 |
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
: Added new constantsJaegerTlsKey
andJaegerCaPemKey
, and updated error messages for better clarity.common/config/jaeger.go
: ModifiedModifyConfig
function to support both secure and insecure connections, and added validation for TLS configuration.common/config/utils.go
: AddedparseEncryptedOtlpGrpcUrl
function to handle and validate encrypted OTLP gRPC URLs.Frontend Updates:
frontend/webapp/containers/main/destinations/destination-drawer/build-card.ts
: 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
: Added support for rendering checkbox input type in dynamic fields.frontend/webapp/hooks/destinations/useConnectDestinationForm.ts
: Updated hook to handle checkbox input type.frontend/webapp/utils/constants/string.tsx
: AddedCHECKBOX
toINPUT_TYPES
constants.Documentation Updates:
docs/backends/jaeger.mdx
: Updated Jaeger configuration documentation to include new TLS-related fields and improved formatting. [1] [2]These changes collectively improve the configuration flexibility and security of Jaeger integrations, while also enhancing the frontend user experience.