From b0fe6e2f655640396582c0918a1fc387d3829bc8 Mon Sep 17 00:00:00 2001 From: JackyWoo Date: Thu, 25 Apr 2024 16:56:59 +0800 Subject: [PATCH] Fix readme and use http instead of tcp in dsn --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3672ac7..41d6d4b 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ GLOBAL OPTIONS: - When you can't change `/etc/clickhouse-server/*.xml` files on server, just add ` SETTINGS query_profiler_real_time_period_ns=40000000, query_profiler_cpu_time_period_ns=40000000` to end of your SQL query. And run following command ``` -clickhouse-flamegraph --dsn=tcp://clickhouse-server:9000/?pool_size=1 +clickhouse-flamegraph --dsn=http://clickhouse-server:8123/?allow_introspection_functions=1 ``` - For check all settings in server set properly run following SQL query on your ClickHouse server