-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[v2][feat] Introduce ClickHouse connection configuration #6664
Conversation
Signed-off-by: zzzk1 <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6664 +/- ##
==========================================
- Coverage 95.96% 95.61% -0.35%
==========================================
Files 365 367 +2
Lines 20602 21141 +539
==========================================
+ Hits 19770 20214 +444
- Misses 634 711 +77
- Partials 198 216 +18
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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 closed the ticket.
// Auth Specify an auth struct in the connection details to specify a username and password. | ||
Auth Authentication `mapstructure:"auth"` | ||
// TLS options. A non-nil value enables TLS. | ||
TLS *tls.Config `mapstructure:"tls"` |
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.
Won't work, see how other configs are doing TLS
} | ||
|
||
type Authentication struct { | ||
Database string `mapstructure:"database"` |
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.
Why is database part of auth? Can't I auth via TLS and still specify database?
Which problem is this PR solving?
Description of the changes
According to the principle of minimization, provide a connection configuration for subsequent clients connected to
ClickHouse
.YAML
configuration file for e2e test, including the minimum parameters required to interact withClickHouse
.YAML
should be parsed and applied at runtime.How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test