48 lines
1.2 KiB
XML
48 lines
1.2 KiB
XML
<clickhouse>
|
|
<listen_host>::1</listen_host>
|
|
<listen_host>0.0.0.0</listen_host>
|
|
<remote_servers>
|
|
<localcluster>
|
|
<shard>
|
|
<internal_replication>true</internal_replication>
|
|
<replica>
|
|
<host>ch1</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>ch2</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
<replica>
|
|
<host>ch3</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</localcluster>
|
|
</remote_servers>
|
|
|
|
<zookeeper>
|
|
<node>
|
|
<host>ch1</host>
|
|
<port>9181</port>
|
|
</node>
|
|
<node>
|
|
<host>ch2</host>
|
|
<port>9181</port>
|
|
</node>
|
|
<node>
|
|
<host>ch3</host>
|
|
<port>9181</port>
|
|
</node>
|
|
</zookeeper>
|
|
|
|
<prometheus>
|
|
<endpoint>/metrics</endpoint>
|
|
<port>9363</port>
|
|
|
|
<metrics>true</metrics>
|
|
<events>true</events>
|
|
<asynchronous_metrics>true</asynchronous_metrics>
|
|
<status_info>true</status_info>
|
|
</prometheus>
|
|
</clickhouse> |