mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
76 lines
2.6 KiB
XML
76 lines
2.6 KiB
XML
<?xml version="1.0"?>
|
|
<clickhouse>
|
|
<logger>
|
|
<level>debug</level>
|
|
<console>true</console>
|
|
<log remove="remove"/>
|
|
<errorlog remove="remove"/>
|
|
</logger>
|
|
|
|
<query_log>
|
|
<database>system</database>
|
|
<table>query_log</table>
|
|
</query_log>
|
|
|
|
<listen_host>0.0.0.0</listen_host>
|
|
<http_port>8123</http_port>
|
|
<tcp_port>9000</tcp_port>
|
|
<interserver_http_host>ch_server</interserver_http_host>
|
|
<interserver_http_port>9009</interserver_http_port>
|
|
|
|
<max_connections>4096</max_connections>
|
|
<keep_alive_timeout>64</keep_alive_timeout>
|
|
<max_concurrent_queries>100</max_concurrent_queries>
|
|
<uncompressed_cache_size>8589934592</uncompressed_cache_size>
|
|
<mark_cache_size>5368709120</mark_cache_size>
|
|
|
|
<path>/var/lib/clickhouse/</path>
|
|
<tmp_path>/var/lib/clickhouse/tmp/</tmp_path>
|
|
<user_files_path>/var/lib/clickhouse/user_files/</user_files_path>
|
|
|
|
<users_config>users.xml</users_config>
|
|
<default_profile>default</default_profile>
|
|
<default_database>default</default_database>
|
|
<timezone>UTC</timezone>
|
|
<mlock_executable>false</mlock_executable>
|
|
<!--
|
|
OpenTelemetry log contains OpenTelemetry trace spans.
|
|
-->
|
|
<opentelemetry_span_log>
|
|
<!--
|
|
The default table creation code is insufficient, this <engine> spec
|
|
is a workaround. There is no 'event_time' for this log, but two times,
|
|
start and finish. It is sorted by finish time, to avoid inserting
|
|
data too far away in the past (probably we can sometimes insert a span
|
|
that is seconds earlier than the last span in the table, due to a race
|
|
between several spans inserted in parallel). This gives the spans a
|
|
global order that we can use to e.g. retry insertion into some external
|
|
system.
|
|
-->
|
|
<engine>
|
|
engine MergeTree
|
|
partition by toYYYYMM(finish_date)
|
|
order by (finish_date, finish_time_us, trace_id)
|
|
</engine>
|
|
<database>system</database>
|
|
<table>opentelemetry_span_log</table>
|
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
|
</opentelemetry_span_log>
|
|
|
|
<remote_servers>
|
|
<hdx_cluster>
|
|
<shard>
|
|
<replica>
|
|
<host>ch_server</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</hdx_cluster>
|
|
</remote_servers>
|
|
|
|
<distributed_ddl>
|
|
<path>/clickhouse/task_queue/ddl</path>
|
|
</distributed_ddl>
|
|
|
|
<format_schema_path>/var/lib/clickhouse/format_schemas/</format_schema_path>
|
|
</clickhouse>
|