You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ClickHouse offers both a "native" and an HTTP API.
The SQL output plugin has a setting driver="clickhouse" that is supposed to be able to push metrics to a ClickHouse database. The database credentials are given using the data_source_name setting.
Expected behavior
If I specify http://... as the DSN I'd expect it to connect to ClickHouse via HTTP and start pushing metrics.
Actual behavior
The SQL output plugin uses an old version of the ClickHouse driver which doesn't support HTTP yet.
It also doesn't actually detect that, so it will happily accept a http://hostname:1234 DSN and connect and try talking native protocol to the HTTP server, causing the whole Telegraf process to hang.
Additional info
No response
The text was updated successfully, but these errors were encountered:
Use Case
ClickHouse offers both a "native" and an HTTP API.
The SQL output plugin has a setting
driver="clickhouse"
that is supposed to be able to push metrics to a ClickHouse database. The database credentials are given using thedata_source_name
setting.Expected behavior
If I specify
http://...
as the DSN I'd expect it to connect to ClickHouse via HTTP and start pushing metrics.Actual behavior
The SQL output plugin uses an old version of the ClickHouse driver which doesn't support HTTP yet.
It also doesn't actually detect that, so it will happily accept a
http://hostname:1234
DSN and connect and try talking native protocol to the HTTP server, causing the whole Telegraf process to hang.Additional info
No response
The text was updated successfully, but these errors were encountered: