-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Clickhouse exporter not working with https #18079
Comments
It appears |
Pinging code owners for exporter/clickhouse: @hanjm @dmitryax @Frapschen. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hi @atoulme, sorry for the confusion. I put |
I think the missing piece is that we don't pass TLS config correctly to the client https://github.com/ClickHouse/clickhouse-go/blob/main/examples/std/ssl.go We should instantiate it with |
@atoulme even though is not relevant in this issue, consider to encourage |
Component(s)
No response
What happened?
Description
Hi, I cannot connect to a Clickhouse instance over HTTPS. It would be great if you could provide an example if I'm doing something wrong.
Steps to Reproduce
Make a free account on https://clickhouse.com/ and try to connect the exporter with it.
Expected Result
Actual Result
Collector version
0.70.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
I tried it with
github.com/ClickHouse/clickhouse-go/v2
throughsql.Open
and it worked fine.The text was updated successfully, but these errors were encountered: