Closed ceevaaa closed 11 months ago
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Hello @ceevaaa, from what I'm reading in the code this should be possible.
All data types (logs, metrics, traces) go through the same call stack of creating a ClickHouse client. The client will use the endpoint provided in the config to build a DSN and then open the DB connection. During the buildDSN
method all parameters of the provided endpoint will be encoded into the DSN url. (The specified endpoint is validated on startup to make sure it can properly be parsed by ClickHouse).
I may be missing something here though, I don't have much experience with this component, so the code owners may have to correct me here. Have you been able to test it to see if it's working as expected?
Hey @crobert-1, I tested this out today. And it worked well! So as usual, thanks again for being the query solving superman. Cheers!
Regards Shiva Pundir
Component(s)
exporter/clickhouse
Description
Is there a way to balance the exportation load (client-side load balancing) to multiple Clickhouse DBs while using the exporter/clickhouse.
As explained in this configuration here, will it be possible to use this parameter in the
endpoint
param to achieve the same ?Something like this -
Thanks & Regards Shiva Pundir
Collector version
v0.0.88