Closed Hubbitus closed 1 year ago
Hey, I don't really have time to test this, but I just updated the dependencies. After looking at clickhouse-go it seems like the HTTP protocol if a relatively recent addition (Labeled as experimental in the README) so it might just not have been in the version of the driver that the sql_exporter is using. Could you give the current master a try?
@dewey, thank you very much! But it looks is not enough.
Could you please take a look on https://github.com/justwatchcom/sql_exporter/pull/86?
Thanks, I merged it and will release it today. I'm just figuring out some release process to switch to GitHub registry instead of Docker.
@dewey, thank you again.
I'll wait for published docker images to use.
You're welcome, the images are now available. They are pushed to the GitHub registry and you can get them there: https://github.com/justwatchcom/sql_exporter/pkgs/container/sql_exporter
I tested them internally and we are already running it in production.
Hello.
I am trying to run exporter with clickhouse, my simple config:
But in logs got:
I've tried use DSN like
clickhouse+http://admin:******@10.221.0.19:31673
(by https://github.com/xo/dburl doc), but also without success:But official clickhouse-go driver also has http support.
How I should configure using
http
instead oftcp
in connection?